Re: [PHP] Strange MySQL Query Problem

2002-07-03 Thread Alberto Serra
eat pasta type fasta wrote: > $result = mysql_query("SELECT some_id, some_description, some_feature > FROM '$pop-up1' WHERE some_description LIKE '%$texfield%' AND > some_feature LIKE '%$pop-up2'"); have this query echoed to video and then cut it and paste it to mysql terminal. Most probably

Re: [PHP] Strange MySQL Query Problem

2002-07-03 Thread Jason Wong
On Thursday 04 July 2002 12:32, eat pasta type fasta wrote: > $result = mysql_query("SELECT some_id, some_description, some_feature > FROM '$pop-up1' WHERE some_description LIKE '%$texfield%' AND > some_feature LIKE '%$pop-up2'"); Again: echo $result; -- Jason Wong -> Gremlins Associates -> w

[PHP] Strange MySQL Query Problem

2002-07-03 Thread eat pasta type fasta
I already got some replies for this but it wasn't it, here is the problem: I have a simple form which queries the database based on 2 pop-up menu choices and keywords entered by the user, it passes on the variables as follows: pop-up1=choice1, pop-up2=choice2, textfield=user specified data the