I wrote a message board and couldn't open it. the following error is displayed: Fatalerror: Calltoundefinedfunctioninclue () in... lybindex. phponline2index. php: the following message board is displayed: Homepage | message & lt ;? While ($ rowmysql_fetc php database
I wrote a message board and couldn't open it. the following error is displayed:
Fatal error: Call to undefined function inclue () in... \ lyb \ index. php on line 2
The index. php code is as follows:
Inclue ("config. php ");
$ SQL = "select * from content ";
$ Resule = mysql_query ($ SQL, $ q );
?>
| Message book |
| Homepage | message |
Name:
Email
}
?>
The config. php code is as follows:
$ Q = mysql_connect ("localhost", "root", "root ");
If (! $ Q)
{Die ('could not connect: '. mysql_error ());}
Mysql_query ("set names utf8"); // read data using utf8 mysql_select_db ("guestbook", $ q); // Database
?>