Home › Forums › Back End › POST to MySQLi DB using a form › Reply To: POST to MySQLi DB using a form
May 21, 2015 at 10:51 am
#202667
Anonymous
Inactive
Am I understanding your code correctly that if your value rests in
$_POST['teamname']
that PHP will know to get that automatically for:teamname
when passed into the execute?
Yes. The colon may be omitted for the input parameters (ie. the array that is passed into $stmt->execute()
).