 |
|
Code (PHP)
<?
$link=mysql_connect("localhost","root","1234");
if(!$link)
{
print ("ERROR");
}
else
{
mysql_select_db("project",$link);
$cmd = "insert into register (m_name,m_id,m_work,m_mail,m_tel) values ( '$name','$pass','$work','$email',$tel)";
mysql_query($cmd,$link);
mysql_close($link);
}
?>
Tag : PHP, MySQL
|
|
 |
 |
 |
 |
Date :
2011-08-22 17:41:23 |
By :
tew541 |
View :
744 |
Reply :
1 |
|
 |
 |
 |
 |
|
|
|
 |