function connect_db($database)
{
//ติดต่อกับฐานข้อมูล
$serverName = 'localhost';
$userName = 'root';
$password = 'science';
$con = mysql_pconnect($serverNane,$userName,$password);
if(!mysql_select_db($database))
return false;
mysql_query( "set names 'latin1'" ) or die( "can not set name" );
return $con;
}
?>
Fatal error: Call to undefined function connect_db() in C:\xampp\htdocs\scweb\cv\info.php on line 10