php - insert into table implode array -
i've got var implode result form...(i think called) , need insert on table other "fixed values"...
like :
$dx = $_post['cid']; $vat = implode("', '", $dx);
also have
var1= $_session['loginuser']; var2= $_session['formuser'];
and need insert in table : var1+var2+vat each value in vat variable
i think i'm going need create var $dx imploding coma i'm not shure if i'm correct... , i'm lacking code can give me hand?
ok need correct syntaxe code insert values table..
something like:
for each value in $vat insert table_name (var1, var2, vat)....
Comments
Post a Comment