Re: [PHP] Notice: Undefined offset: 3 in ..........

2005-03-22 Thread Rasmus Lerdorf
PartyPosters wrote: Hello, Please could someone tell me why I am getting (Notice: Undefined offset: 3 in ..) from using this code. for ($i=0; $i<=3; $i++){ mysql_query("INSERT INTO shipped(userID, productID, distID, username,ship_company, ship_add1,ship_add2) VALUES(1, '$productID','$v_d

[PHP] Notice: Undefined offset: 3 in ..........

2005-03-22 Thread PartyPosters
Hello, Please could someone tell me why I am getting (Notice: Undefined offset: 3 in ..) from using this code. for ($i=0; $i<=3; $i++){ mysql_query("INSERT INTO shipped(userID, productID, distID, username,ship_company, ship_add1,ship_add2) VALUES(1, '$productID','$v_distIDArray[$i]',