Need help with switch content header

Dicebat

Well-Known Member
Joined
Mar 15, 2010
Messages
160
Reaction score
1
Location
CT
Hey peeps!

I made a boo-boo with a client's site :whistle:.

Basically, it's a PHP site that makes use of content switch coding which seemingly calls content from another page.

I accidentally removed the 'head' script, saved it and uploaded it, replacing the original index.php. Now the links and content calling is busted for good.

This is what information I CAN provide you with though: In the index.php it calls the content with this:
Code:
<? include("file-with-content.php"); ?>

When going to "file-with-content.php" source code, it has
Code:
<? switch($content){ 


case "home":?>
in the head section of "file-with-content.php"

I need to know, what would the 'original' header code could be for index.php which I deleted? What do you call it? What do I do to fix this?

I can remember that it also contained meta switch tags.
 
Last edited:
Top
Sign up to the MyBroadband newsletter
X