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
Ranked #44.2K
Ranked #4K
~336 People Reached
Favorite Forums
Favorite Tags
php x 4
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
Member Avatar for heels

hi, I am doing a insert query over here and if the query is executed successfully, there will be a success message. However, whenever the query is being executed successfully, the success message is not being displayed. here is a snipet, can anybody guide me along? thanks alot. [code=php]//Execute SQL …

Member Avatar for heels
0
76
Member Avatar for ashu_2961989

This is a contact form php script which i got from some site. But when i uploaded to site, it shows " parse syntax error" . Its somewhere between line 30 to 35. Please review it and find ou the error. <?php $EmailFrom = "contact@test.com"; $EmailTo = "root@localhost"; $Subject = …

Member Avatar for ashu_2961989
0
79
Member Avatar for isomillennium

echo removes white spaces from the text and stored text shows up w/o line breaks .. How can i correct this ? When i view my db tables and contents in it using phpmyadmin, the text stored in them look normal .. the way i typed it .. but when …

Member Avatar for isomillennium
0
95