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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.