javascript php functions
is illusory duty php controlling onsubmit javascript? someone give me an instance done?
function addorder(){
$con = mysql_connect("localhost", "146687", "password");
if(!$con){
die('could connect: ' . mysql_error())
}
$sql = "insert orders ((user, 1st row, 2nd row, 3rd row, 4th row)
values ($session->username,1st variable, 2nd variable, 3rd variable, 4th variable))";
mysql_query($sql,$con)
if(mysql_query($sql,$con)){
relate "your method added";
}else{
relate "there an blunder adding your method databse: " . mysql_error();
}
}
that's duty i am wanting call. the an organization system, form many any vigilant want, strike quarrel should supplement method table.
Comments
Post a Comment