Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in PHP only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
PHP
How to test if Recordset is empty using PHP and MySQL
Collapse
This topic is closed.
X
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
lorenzdominic_@hotmail.com
#1
How to test if Recordset is empty using PHP and MySQL
Dec 19 '05, 11:45 PM
Hello
What is the best way to test if a recordset is empty using PHP and
MySQL?
Regards
Dominic
Erwin Moller
#2
Dec 20 '05, 10:15 AM
Re: How to test if Recordset is empty using PHP and MySQL
lorenzdominic_@ hotmail.com
wrote:
[color=blue]
> Hello
>
> What is the best way to test if a recordset is empty using PHP and
> MySQL?[/color]
PHP: mysql_num_rows - Manual
http://nl3.php.net/manual/en/function.mysql-num-rows.php
Get number of rows in result
Always check
www.php.net
first for obvious answers to obvious questions...
Regards,
Erwin Moller
[color=blue]
>
> Regards
> Dominic[/color]
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment