Re: SQL query error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
        Do you check the how many rows return. You can display rows count 
with following PHP code. If rows count is zero, you can see the blank page. 
:)

$num_rows = mysql_num_rows($result);
echo ($num_rows);


-- 
Haydar TUNA
Republic Of Turkey - Ministry of National Education
Education Technology Department Ankara / TURKEY
Web: http://www.haydartuna.net

"Chris Carter" <chandan9sharma@xxxxxxxxx> wrote in message 
news:7903857.post@xxxxxxxxxxxxxxxxxx
>
> What wrong with this syntax, its not giving any error on runtime but I am
> facing a blank page while paging.
>
> $query=" SELECT * FROM gurgaonmalls WHERE mallname = '$mallname' limit 
> $eu,
> $limit ";
> -- 
> View this message in context: 
> http://www.nabble.com/SQL-query-error-tf2831052.html#a7903857
> Sent from the Php - Database mailing list archive at Nabble.com. 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux