|
|
|
DD&C Support Computer Support, Help and Information |
|
|
| View previous topic :: View next topic |
| Author |
Message |
darktooth
Joined: 24 Jan 2006 Posts: 1
|
Posted: Tue Jan 24, 2006 9:43 am Post subject: how do I force literal display in data returned from script? |
|
|
I am trying to display information returned from php script. The problem I am having is that the data the script returns <CG>Darktooth, <CG>Zenagon, etc. and I can not get my webpage to display the <CG> part. It is being treated as a tag I guess....how do I force my webpage to treat the <CG> part as a literal and not a tag. Here is the code that loops through the array returned from the php script.
foreach ($data['players'] as $p) {
print $p['name'];
};
Any help is greatly appreciated |
|
| Back to top |
|
 |
|
|
Dave Site Admin

Joined: 13 Jan 2006 Posts: 83
|
|
| Back to top |
|
 |
Sunmon
Joined: 07 Sep 2006 Posts: 1 Location: USA
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|