Hi
I am implementimg a project where by the user enters some pattern of string ,Now I have to write a query where by the user entered string is searched or compared with a particular field in the Access Database.I have writen the following query :
$opr=$_POST["txtquery"];
$sql="select * from datadump where myfield like '$opr'";
$rs=odbc_exec($conn,$sql);
Now the query returns results only if it finds an 'exact' match ,I want to write a query where by all the records having the user entered string are returned.How do I do it??(I am using php/access)
Thankz.
Praveen
