p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

beginning_php thread: Fatal error ....


Message #1 by "Sukma Wardhana" <hantu_maut@y...> on Sun, 2 Feb 2003 18:07:09
I had problem here ..
I checked the script .. seems everythings look fine ...
but i don't why there's error message ...

Fatal error: Call to undefined function: displayerrmsg() in 
C:\phpweb\input.php on line 70

Can u tell where's the wrong ?
here's the part of my program ....

	// Select the Database
	if (!mysql_select_db($databaseName, $link)) 
	{
//   	DisplayErrMsg(sprintf("Error in selecting %s database", 
$databaseName)) ;
//	DisplayErrMsg(sprintf("error:%d %s", mysql_errno($link), 
mysql_error($link))) ;
	exit() ;
	}
                                            <------------Line 70
	// Execute the Statement
if (!mysql_query(sprintf($addStmt,$GAMBAR, $NAMAILMIAH, $NAMADAGANG, 
$NAMADAERAH, $PERTELAAN, $BATANGUTAMA, $TAJUK, $TAKIKANBATANG, $DAUN, 
$PERBUNGAAN, $RUNJUNGJANTAN, $RUNJUNGBETINA, $BUNGA, $BUAH, $BIJI, 
$INFORMASIBOTANILAINNYA, $PERSEBARAN, $EKOLOGI, $KEGUNAAN, 
$CIRIKHASMARGA), $link)) 


Thanks 

Sukma




Message #2 by "Sukma Wardhana" <hantu_maut@y...> on Mon, 3 Feb 2003 14:12:16
I found the answer .. sory to bother you ..

Thanks

Sukma

  Return to Index