I'm building a simple web page in php to a friend. He bought a website build in asp, and access database. Two things I'm not familiar with, and I need your help to make the database connection with code only, if possible.
The code is this:
<body align="center"> <form method="POST" action="mypage.php"> <table cellspacing="0" cellpadding="2" bgcolor="#FFF" width="90%"> <tr> <td class='titulo2l'> Name: </td> <td colspan="3" ><input type="text" name="name" class='titulo2a' /></td> </tr> <tr> <td class='titulo2l'> Address: </td> <td colspan="3"><input type="text" name="address" class='titulo2a' /></td> </tr> <tr align="center"> <td colspan="2"> <input type="submit" value="Send"/> </td> <td colspan="2"> <input type="Reset" value="Clear"/> </td> </tr> </table> </form> $name = $_POST['name']; $address = $_POST['address'];


Sign In
Create Account

Back to top










