I want to make a query into a db through a php script sending variables trough POST. With mysql_error() it says that I have an error in the query : Select...
Can somebody help me?
Post the entire error output by mysql_error() please.
Also, note that addslashes() is not a suitable protection against SQL injection. Nor is it recommended to use extract() as the variables you are referencing may still not exist. Use isset() or array_key_exists() instead help set the value.