Jump to content

NEED HELP in (if) statement


poppertom69

Recommended Posts

[code]while($row1 = mysql_fetch_array($result1))

{
$playername = $row1['PlayerName'];

if ($playername == $player_name) { include 'adddataupdate.php';;}

}
if ($player_name == (anything else apart from $playername) { include 'adddata2.php';;}[/code]

Where i put [color=red](anything else apart from $playername)[/color] thats the code i need! this would make mylife so much easier if anyone could help.

Thanks
Tom
Link to comment
https://forums.phpfreaks.com/topic/32333-need-help-in-if-statement/
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.