Jump to content

If statment


khile

Recommended Posts

A) The error is probably because you used a short open tag <?

B) You should stick to the traditional  if(){} construct and you should format your code so that it is readable

C) Why are you switching into/out of php so many times in one statement? No one can read that mess, including you.

 

if($forum_user['g_id'] <= USER_MOD){ echo "<th class='tcr'>{$lang_online['IP']}</th>\n"; }

Link to comment
https://forums.phpfreaks.com/topic/216164-if-statment/#findComment-1123396
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.