First of all, I use PHP Dreamweaver to make a program with phpMyAdmin Database. This program gets my records in a 1st row blank when I submit the button, and the remaining r
You need to put:
$name = array_map('mysql_real_escape_string', $_POST['name']);
$lastname = array_map('mysql_real_escape_string', $_POST['lastname']);
$email = array_map('mysql_real_escape_string', $_POST['email']);
$id = array_map('mysql_real_escape_string', $_POST['id']);
before your for
loop. You're using these variables but you never filled them in from the form inputs.