jssrecording 3 Posted January 30, 2019 Report Share Posted January 30, 2019 (edited) UPDATE wp_24e1505507_gf_entry_meta SET meta_value = #myawesomevariable WHERE entry_id = 28 AND meta_key = 5; I can connect to database and select anything with no issues. The update statement works if I hard code a value. I know the above line is not correct for sql. How would I go about passing the ubot variable into a sql statement? Thanks in advanced Ubotters! Jason Edited January 30, 2019 by jssrecording Quote Link to post Share on other sites
jssrecording 3 Posted January 30, 2019 Author Report Share Posted January 30, 2019 Nevermind, I figured it out by adding brackets {#object}. Thanks! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.