 |
|
| View previous topic :: View next topic |
| Author |
Message |
NukeForums Tactics Supervisor


Joined: 27 May 2001 Posts: 1261
|
Posted: Thu Jun 14, 2001 4:37 pm Post subject: |
|
|
Q] Why does my code not post correctly?
A] Posting code and then viewing it with an HTML based browser will never give you the desired effect you wish. If you need to preserve the format of the code use BB code.
ie this:
| Code: | case "GET":
while (list ($key, $val) = each ($HTTP_GET_VARS))
{
if( is_array($val) )
{
array_walk($val, 'stripslashes_array', '');
$$key = $val;
}
else
{
$$key = stripslashes($val);
}
}
break; |
verses this:
case "GET":
while (list ($key, $val) = each ($HTTP_GET_VARS))
{
if( is_array($val) )
{
array_walk($val, 'stripslashes_array', '');
$$key = $val;
}
else
{
$$key = stripslashes($val);
}
}
break;
When possible you should alsways use the built in BB codes for the forums. All BB Code tags can me found in the FAQ menu link on the top of each page on the Nuke Forums. |
|
| Back to top |
|
 |
|
|
 |
blueprins Private

Joined: 09 Feb 2007 Posts: 2
|
Posted: Fri Feb 09, 2007 1:25 pm Post subject: |
|
|
Thanks NukeForums  |
|
| 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
|
|