in case of mysql can i do something like this
$sql = "INSERT INTO table1
(WaybillNum, UserEmail, TelnetUser, TelnetPasswd, FWpasswd, WaybillDateTime, Signee, AccountNum, OTDretcode, Message, DateStamp, MsgType) VALUES (
'".$data[1]."', '".$data[6]."', 'berscrip', 'Berscrip', '<system var>', '".$data[7]."', '".$data[3]."', '".$podprocess->account."', o, 'Waybill Uploaded Successfully', NOW(), 0)
,
(
'".$data[1]."', '".$data[6]."', 'berscrip', 'Berscrip', '<system var>', '".$data[7]."', '".$data[3]."', '".$podprocess->account."', o, 'Waybill Uploaded Successfully', NOW(), 0)";
I am getting confused now with mysql/php, the issue here is that i will be fetching a lot of records from one table and on that result i will select invoices which are oustanding then add them on a new table before i can email it (insert ignore in mysql )
hope u find this in order
tnks