Jump to content
UBot Underground

Recommended Posts

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 by jssrecording
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...