I can't understand why this code is sending error:
Code: Select all
<?php
mysql_connect('localhost','root','');
mysql_select_db('hameddb');
$name="Javad";
$fn="Ali";
$shsh="11542";
$mc="0794956912";
$age="20";
$cm="bichare";
mysql_query("INSERT INTO `details` (name, father_name, shsh, mellicode, age, comments) VALUSE ('$name', '$fn' ,'$shsh', '$mc', '$age', '$cm')") or die(mysql_error()) ;
?>