How to list records for a query and to display 'no records' when no rows returned using a single que

Posted by Vijay on Stack Overflow See other posts from Stack Overflow or by Vijay
Published on 2010-04-07T07:28:58Z Indexed on 2010/04/07 7:33 UTC
Read the original article Hit count: 218

Filed under:

How to list records for a query and to display 'no records' when no rows returned using a single query?

Now i'm using a count(*) query or using the mysql_num_rows and then another query in different result set to list data..

Please tell me whether its possible with a single query..?

© Stack Overflow or respective owner

Related posts about mysql