Home › Forums › Other › Have a form and an SQL database, but dont know how to get them to link › Reply To: Have a form and an SQL database, but dont know how to get them to link
February 6, 2017 at 2:44 am #250995
You are fine to break in and out of PHP around HTML, but you’re missing a closing PHP tag here, if that’s what you mean;
} /* close the PHP here */ ?> <form action="insert.php" method="post">
However, I would expect to see the PHP code for form processing, and insertion into the database, in the “insert.php” file referenced in the action attribute of your form.