Please support our PHP advertiser: Lunarpages PHP Web Hosting
What's
You'll probably get another error when you get to the
get_header? It's not a PHP function, and you've not defined it in the code you've posted, so PHP doesn't know what you're trying to do. If you want to include 'header.php' in your file, use include, require, include_once or require_once.include simply inserts the contents of another file into the script. require does the same thing, but it also prints an error and kills the script if it can't find the file. The '_once' versions also make sure the file is only included once in the script. So if you want to use require, you would write require 'header.php';.You'll probably get another error when you get to the
get_footer(); call at the bottom of the script; just do the same thing as above, replacing 'footer.php' for 'header.php'. Last edited by Darkmeerkat : Nov 12th, 2007 at 12:42 pm.
Similar Threads
Other Threads in the PHP Forum
- error "cannot find server- Microsoft Internet Explorer". (Web Browsers)
- Check my code, There is 1 error, cant find it (C++)
- Runtime error:453 cannot find dllentrypoint (Visual Basic 4 / 5 / 6)
- HELP! t_string error (PHP)
- DNS error cannot find server (Windows NT / 2000 / XP / 2003)
- syntax error that I just can't seem to find! (Visual Basic 4 / 5 / 6)
- "Cannot find server or DNS Error" (Web Browsers)
Other Threads in the PHP Forum
- Previous Thread: Using mysqli_bind_param with an unknown number of variables
- Next Thread: PHP Classes
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)






Threaded Mode