private_guy Posted August 19, 2007 Share Posted August 19, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/65716-language-string-not-displying/ Share on other sites More sharing options...
php_tom Posted August 19, 2007 Share Posted August 19, 2007 Can you post the parts of your code that set $set, $d, $settings_save, and $settings_not_save? The code you posted looks OK, so he problem must be elsewhere. Quote Link to comment https://forums.phpfreaks.com/topic/65716-language-string-not-displying/#findComment-328253 Share on other sites More sharing options...
private_guy Posted August 19, 2007 Author Share Posted August 19, 2007 Well if I remove the language values and just write it in myself, without them, it works, but the language pack is fine, <?php include("language/english.php"); ?> is there and second of all the values are in there :S. Quote Link to comment https://forums.phpfreaks.com/topic/65716-language-string-not-displying/#findComment-328263 Share on other sites More sharing options...
private_guy Posted August 19, 2007 Author Share Posted August 19, 2007 This is whats in english.php $settings_saved = ("Your Setting Were Changed Successfully!"); $settings_not_saved = ("Settings Couldn't be Changed, Check CHMOD Status!"); Quote Link to comment https://forums.phpfreaks.com/topic/65716-language-string-not-displying/#findComment-328265 Share on other sites More sharing options...
php_tom Posted August 19, 2007 Share Posted August 19, 2007 I dunno... this isn't your problem, but there isn't really a </br> tag. Otherwise your code looks ok. Quote Link to comment https://forums.phpfreaks.com/topic/65716-language-string-not-displying/#findComment-328269 Share on other sites More sharing options...
private_guy Posted August 19, 2007 Author Share Posted August 19, 2007 okay Thanks anyway Quote Link to comment https://forums.phpfreaks.com/topic/65716-language-string-not-displying/#findComment-328275 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.