* MikeParton
> I guess what might help is to explain that the form fields are on a page
> with method="POST" action=results.php
> The sql I provided originally is in results.php and I use the superglobal
> $_POST to pull the variables from the form field.
> 
> I want the query results to be based on the variables which, in turn, are
> based on the user input from the original page.
> 
> I redid my query substituting AND for OR and it failed to return any
> records.

Did you remove "id='$id'" from the WHERE clause? You probably should.

-- 
Roger

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to