putting this into a variable
Posted: Fri Apr 11, 2014 2:52 pm
I have the here in a query and it works fine however I need to put this into a variable like $var = code but nothing I have tried workds
the code is this
I have tried
will no luck when ran it don't insert into the table
the code is this
Code: Select all
" . "NOW() + INTERVAL " . $row["dbfield"] . " DAY"."
Code: Select all
$var = "NOW() + INTERVAL " . $row["dbfield"] . "DAY";