MySQL Forums
Forum List  »  PHP

SELECT not echoing single entries
Posted by: Keith Mundrick
Date: July 27, 2005 08:22AM

So I've got a pretty large PHP application nearing completion, but I'm having a critical problem. When I use the MySQL command 'SELECT', it works only if there is more than one entry. This is true on all pages of this application.

Example, let's say I SELECT all columns where first name is Jim. If I have 2 or 3 or 10000000 people named Jim in the database, it shows them all and echoes it out beautifully. If there is only ONE person named Jim, it just outputs a blank table, as if there were zero. It doesn't give me an error.

I'm baffled. Have any of you encountered this before? If you would like to see some code, reply and I'll get it up. Thanks in advance.


Options: ReplyQuote

Written By
SELECT not echoing single entries
July 27, 2005 08:22AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.