Jump to content

[SOLVED] absoloute novice needs help


herghost

Recommended Posts

Hi all, I am installing a script and am having a bit of a problem.

 

Im am getting this error in ie

 

Fatal error: Call to undefined function db_connect() in /home/bromi/public_html/book.php on line 26

 

on a page but it does not appear when the page is viewed in flock/firefox.

 

the page is www.bromientertainment.co.uk/book.php, which is a copy of www.bromientertainment.co.uk/index.php which pulls a php page called maincontent.php. I basically want to keep the layout of the index but with different content. So I copied all the code in the original maincontent.php and renamed and placed it in the same directory. So when /index1.php is called it should load the file in book.php (which is a copy of the maincontent.php page)

 

I think i need to define a global call but I dont know how to do this or where to do this! any help or hints would be greatly appreciated.

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/77737-solved-absoloute-novice-needs-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.