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 #72.7K
~2K People Reached
Favorite Forums
Favorite Tags
php x 2
Member Avatar for nathanpacker

Hey, I'm running a mysql query, and would like to run a script if the query returns no results. But what do I use to test for no results? Something like: [PHP] if (!$query) { do this } [/PHP] But just not sure how to implement it. Little help?

Member Avatar for BradChesney79
0
2K