I have just one question:
When I make 2 text fields on a web page and a person enters their information, how do I keep the web connection on the page a person is on and not goto a php page?
* My HTML Form action="database.php":
<form class="marginForm" onsubmit="return validateForm()" method="post" action="database.php" name="myform">
<p>Enter information to win the $500 shopping spree:</p>
<p>Name: <input name="name" type="text" style="width: 245px" /></p>
<p>Email: <input name="email" type="text" style="width: 250px" /></p>
<input type="submit" value="Submit" />
Thanks for the help and I am just doing my best with having the education for this and just doing it.
*I am new to software programming, and everything I know is by reading material online and just trying to do it*
In the my opinion, the PHP is a very easy steps to connect the database. It has the only one steps to connect the database.
mysql_connect("server name", "username", "password") or die(mysql_error());
echo "Connected to MySQL<br />";
After connecting the DSN , we use this line.
Thanking you .