Log in

View Full Version : Language String not displying



Private_Guy
08-19-2007, 08:02 PM
Hi there,

This code which i made doesn't disply the language value, i dont know why, can you please check it for me?


<?
if ($set=="a")
echo "<center><table cellspacing=1 cellpadding=4 border=0 bgcolor=#FF0000><tr><td align=center bgcolor=#FFE6E6><img src='images/up.png'> <font color=#008000><b>".$settings_save."</b></font></td></tr></table></center></br>";
elseif ($d=="b")
echo "<center><table cellspacing=1 cellpadding=4 border=0 bgcolor=#FF0000><tr><td align=center bgcolor=#FFE6E6><img src='images/down.png'> <font color=#FF0000><b>".$settings_not_saved."</b></font></td></tr></table></center></br>";
else
echo ""; ?>

The language values are settings_save and settings_not_save

Thanks.

Best Regards,
Private_Guy

thetestingsite
08-19-2007, 08:26 PM
What's the rest of the code, most importantly the parts where the variables get assigned. It's very hard to troubleshoot if we don't have the full code.

Twey
08-20-2007, 03:09 AM
Always drop out of PHP parsing mode when writing HTML -- it makes your code much easier to read. You should also make your code validate (http://validator.w3.org/) as HTML 4.01 Strict.