this is the code to insert one record how do you use the same code to insert two records!!!
<?php $link-=mysql_connect("localhost","root",""); $db=my_sql_select_db("student"); $sql="INSERT INTO `student`.`info`(`studentid`,`name`,`course`) VALUES(100,'Nimal','HD');"; $result=mysql_query($sql); if($result) { echo"Record inserted"; } else { echo"Record not inserted"; echo mysql_error(); } ?>