Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~168 People Reached
Favorite Forums
Favorite Tags
php x 2
Member Avatar for sammoray

this problem is too old with me please try to help I made online users table in db and when user is logging in . the code is [COLOR="Red"]$sql="insert into online_users(username) values('".$_SEESION['username']."')"; mysql_query($sql);[/COLOR] but I couldn't specify the users who went offline to delete them from the table please help …

Member Avatar for phpuser
0
82
Member Avatar for sammoray

[code]if(isset($_SESSION['admin']) == TRUE){echo "<font face='tahoma' color='#ff0000'>ADMIN : ".$_SESSION['admin']." welcome<br></font>";} $sql="SELECT * FROM messages WHERE messages.user_id=" .$_SESSION['userid']. ";"; $result=mysql_query($sql); [COLOR="Red"]$numrows=mysql_num_rows($result);[/COLOR][/code] for the previous code the browser show me this message: [COLOR="Green"]Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/www/e3lan3.freehostia.com/header.php on line 9[/COLOR]‎ and line 9 is the …

Member Avatar for ryan_vietnow
0
86