Prev | Current Page 51 | Next

Larry Ullman

"Building a Web Site with Ajax: Visual QuickProject Guide"





??¦
3 Another text input is for the employee??™s phone extension.
48 adding records
start a PHP page
The fi rst PHP page handles the non-Ajax form submission. It should also be a
valid HTML document, so start with those tags.
All of the page??™s functionality will go in between the PHP tags.
This page will need to communicate with MySQL, so the
mysql.inc.php script must be included.
The MySQL connection is closed before the script
terminates.
This fi le must be saved as add_employee.php and placed in the
same directory as add_employee.html.
???http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd???>
lang=???en???>

charset=utf-8??? />
Add an Employee