"mysqlfunctionundefined"inPHPfile
<?php$con=mysql_connect("localhost","peter","abc123");if(!$con) { die('Couldnotconnect:'.mysql_error()); }mysql_select_db("my_db",$con);$sql="INSERTINTOPersons(FirstName,LastName,Age)VALUES('$_POST[firstname]','$_POST[lastname]','$_POST[age]')";if(!mysql_query($sql,$con)) { die('Error:'.mysql_error()); }echo"1recordadded";mysql_close($con)?>-------------and.aftericlickit.thescreendisplay:Fatalerror:Calltoundefinedfunctionmysql_connect()..............allhost,username&passwordisright.but computercantdefinedthemysqlfunctionandicheckedthecomputerhasmysqlinstalled....plzhelpme.----------P.S.imusingschoolcomputersocanttypeinthechinese.sorryaboutthat.