PHP-MYSQL help

This is where you share YOUR scripts with others

Moderators: macek, egami, gesf

Post Reply
lokanath7
New php-forum User
New php-forum User
Posts: 139
Joined: Mon Nov 15, 2010 12:11 am

Re: PHP-MYSQL help

Post by lokanath7 » Wed Aug 24, 2011 7:52 am

mysql_num_rows() returns integer...so change ur line

if(mysql_num_rows($sql) == "0")

to

if(mysql_num_rows($sql) == 0){

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests