I am getting this error "Undefined offset: 9 in C:\Course Technology\1687-5\Chapter.10\UpdateContactInfo.php on line 36"
this is the code I am recieving the error on:
[PHP]if (mysqli_num_rows($QueryResult) > 0) {
$Row = mysqli_fetch_row($QueryResult);
$First = stripslashes($Row[3]);
$Last = stripslashes($Row[4]);
$Phone = stripslashes($Row[5]);
$Address = stripslashes($Row[6]);
$City = stripslashes($Row[7]);
$State = stripslashes($Row[8]);
$Zip = stripslashes($Row[9]);
mysqli_free_result($QueryResult);
[/PHP]
My array has 9 elements, everytime I change the indexes listed above to 1 less, assuming zero-based array, the data that is in $First name is displayed in the $Last name field. Please help!!
Thanks