die-trying
11-06-2012, 03:01 PM
hi guys..
i built two scripts i'm beginner in php . i need some help
my first script is to add students details to database that i have done ..
here is my first problem ..
<?php
// connect to database
$h = $_POST['host']; // database_name
$u = $_POST['user']; // database_user
$p = $_POST['pass']; // database_pass
echo
"<form method='POST' action='SQL.php' />
Hostname : <input type='text' name='host' /><br />
Username : <input type='text' name='user' /><br />
Password : <input type='text' name='pass' /><br />
<input type='submit' value='Login' />
</form>";
i'am not good in english sorry
after creating form .. we should make certain steps right ,that to allow login to database, here is my problem
someone please explain me in simple way to understand
thank you
i built two scripts i'm beginner in php . i need some help
my first script is to add students details to database that i have done ..
here is my first problem ..
<?php
// connect to database
$h = $_POST['host']; // database_name
$u = $_POST['user']; // database_user
$p = $_POST['pass']; // database_pass
echo
"<form method='POST' action='SQL.php' />
Hostname : <input type='text' name='host' /><br />
Username : <input type='text' name='user' /><br />
Password : <input type='text' name='pass' /><br />
<input type='submit' value='Login' />
</form>";
i'am not good in english sorry
after creating form .. we should make certain steps right ,that to allow login to database, here is my problem
someone please explain me in simple way to understand
thank you