Gary King
05-25-2003, 05:29 PM
Browser: Mozilla Firebird 0.6
Problem: For some reason, when I view code in [php] tags, the code has one extra line break - code in [ code ] or [sql] tags do not have this problem, though.
Example:
if ($bbuserinfo['userid']!=0)
{
print "Your <b>userid</b> is $bbuserinfo['userid']."
}
else
{
print "You are not logged in, please log in!."
}
would show up as:
if ($bbuserinfo['userid']!=0)
{
print "Your <b>userid</b> is $bbuserinfo['userid']."
}
else
{
print "You are not logged in, please log in!."
}
when they are enclosed in [php] tags instead.
Would be nice to have this fixed, so I don't always to remove the extra lines (although it isn't very difficult using PHP).
Problem: For some reason, when I view code in [php] tags, the code has one extra line break - code in [ code ] or [sql] tags do not have this problem, though.
Example:
if ($bbuserinfo['userid']!=0)
{
print "Your <b>userid</b> is $bbuserinfo['userid']."
}
else
{
print "You are not logged in, please log in!."
}
would show up as:
if ($bbuserinfo['userid']!=0)
{
print "Your <b>userid</b> is $bbuserinfo['userid']."
}
else
{
print "You are not logged in, please log in!."
}
when they are enclosed in [php] tags instead.
Would be nice to have this fixed, so I don't always to remove the extra lines (although it isn't very difficult using PHP).