•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 456,233 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,778 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 1833 | Replies: 22
![]() |
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.
•
•
Join Date: Jun 2007
Location: Valley Center, Kansas
Posts: 636
Reputation:
Rep Power: 3
Solved Threads: 71
•
•
Join Date: Nov 2007
Posts: 10
Reputation:
Rep Power: 2
Solved Threads: 0
•
•
•
•
where are all of these functions you have coming from? get_header(), have_posts(), is_year(), ect.. your problem might be in them.
i will rewrite your code to help and see if i can find any errors. plz post the functions so we can look at them.
thanks soo soo much if you do that that would be so kind
and thanks for the help eveyone i really do suck sometimes lol
Last edited by tattie : Nov 12th, 2007 at 6:42 pm.
![]() |
•
•
•
•
•
•
•
•
DaniWeb PHP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- 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


Linear Mode