No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
[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 … |
|
Nice to be able a part of DanyWeb Community, its seems interesting to me because I can leaern much from other community experiance. I am Daoush from Indonesia, 41 years old, I work for a small software developer company as a programmer in Visual Foxpro. I know PHP . MySQL … |