The index cannot be found in the database for the php value passed by the form. php & nbsp; & lt; label & gt; Applicatorsmust-wear: & lt; inputtype & quot; text & quot; size & quot; 20 & quot; name & quot; AMW & quot; & gt; & lt; label & gt; & lt; br php values passed by forms cannot be found in the database
Index. php
Applicators must-wear:
Mixers/loaders must-wear:
Environmental Hazards:
Search. php
$ Search = "select * from insecticide where (AMW like '% ". $ _ POST ['AMW']. "% 'or MMW like' % ". $ _ POST ['mmw']. "% 'or EH like' % ". $ _ POST ['eh ']. "% ')";
But cannot be found. Is there a syntax error in the statement? Thank you!
------ Solution --------------------
You can run the SQL statement in the database,
------ Solution --------------------
Are you sure the field in your data pants is AMW.
------ Solution --------------------
How can I execute the echo statement in phpmyadmin or command line?
------ Solution --------------------
Copy the echo SQL statement upstairs to phpmyadmin and execute it. if there is any result, let's see what went wrong.