Forum Moderators: open
function foo($bar)
{
if ($bar)
{
return 1;
}
else
{
return 0;
}
}
edit: seems to help, what happens if you wrap in [ quote ] which is a nice way to separate code from commment...
[edited by: jatar_k at 9:09 pm (utc) on Aug. 8, 2005]
[edit reason] fixed quote tag [/edit]
we have to strip them out or the db could be over run with junk.
You can replace it with tabs when you store it in the database and then replace with spaces after you read it.
I post a lot of code, and dislike the way indents work very much! That's the only pet peeve on the whole WebmasterWorld! I can't sleep because of that :)
Even knowing this, I still wonder each time I preview code why my [ code ] is normal font-weight and smaller than it should be.
Webmasterworld does accept non breaking spaces. But, I think you'll have to zap those as they would break PHP.