Hi,
I just tried
I guess it would not like an extra comma after the last set of values, so you should probable codeCode:insert into test1 (nam) values ('John'), ('Mark'), ('Mary');
You have some $paymentAmount[i] around, this should be $paymentAmount[$i]Code:for($i = 0 ; $i < .... ; $i++) { if($i) $allvalues .= ','; $allvalues .= .... }
Musicman




Reply With Quote