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
Post a Comment