MySQL Forums
Forum List  »  PHP

Re: mysql query problem (very important for me...)
Posted by: Slava Divxak
Date: July 24, 2005 11:42PM

Next time, plz, paste error message and table structure here.
And " $question = "select * from data_table where ".$finding_method." like '%".$phrase."%' ORDER BY nr DESC "; "
Don't use *, use names of fields. And how can you know what in $finding_method?

So, copy and paste error message and type in cmd of mysql such string: show create table data_table;
And copy and paste result too.

Options: ReplyQuote

Written By
Re: mysql query problem (very important for me...)
July 24, 2005 11:42PM

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.