mySQL Query issues
-
Michael,
Fantastic plugin with many great features!!My application is passing two variables via an URL that identify an uniqueID and provide a value for an updated field. I’ve got my variable passing working but am struggling with the sql query and subsequent update.
I started by simply using the generated query to make sure my sql is working and it does work. The trouble comes when I add the SQL query outside the generated query. Then nothing is returned. My code looks like:
SELECT * FROM <generated query goes here> WHERE 'UniqueID' = $uniqueIDUniqueID is the DB field name and $uniqueID is the passed variable.
Is there anything special that has to go in the query outside the generated query?
Any code tidbits on updating the record I do finally SELECT?
https://wordpress.org/plugins/contact-form-7-to-database-extension/
The topic ‘mySQL Query issues’ is closed to new replies.