MySQL Forums
Forum List  »  PHP

Re: Select not returning rows
Posted by: Felix Geerinckx
Date: September 13, 2005 03:07AM

Bryan Wood wrote:

> SELECT
> ri_id
> FROM
> rcpt_item
> WHERE
> itm_name='%s' AND
> value='%s' AND
> taxable='%s' AND
> qnty='%s' AND
> cat_id='%s' AND
> ri_id='%s'
>
> However, this select doesnt return any rows even though all the content that is being queried came
> from the database.

Are you sure each %s is replaced with the value you think it's replaced with?

--
felix
Please use BBCode to format your messages in this forum.

Options: ReplyQuote


Subject
Written By
Posted
September 12, 2005 11:32PM
Re: Select not returning rows
September 13, 2005 03:07AM
September 13, 2005 01:02PM
September 13, 2005 01:05PM
September 13, 2005 01:30PM
September 13, 2005 02:08PM


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.