How to include php echo within mysql update? -


so updating mysql database using php. below end of update, , if have string instead of echo $row[embedcode]"); works fine, , echo sets data on page fine retrieving right value, within update doesn't work.

...where `embedcode` = echo $row[embedcode]"); 

i have tried using ". ." around , adding own php tag around i'm not sure needs done.

" ... `embedcode=` '" .$row[embedcode]. "';"); 

Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -