Hi Guys and girls,
I'm new here but not to webmastering. I'm in the middle of redesigning my website and have run into a problem with my php [ I will admit I'm not brilliant at php but I try  ]
So far I have been using the switch format like this:
<?php switch($_GET['page']) {
case "love":
$title = 'Top Ten Reasons To Fall In Love ';
$keywords = 'romance, love, flowers, diamonds, reviews,';
$description = ' 'Top Ten Reasons To Fall In Love ';
$inc_file = 'romance/love.php';
break;
Of course I also have a default page. This has worked until I reached the point where I have more than one sub folder within the main folder. I can't figure out how I go from one index in the main folder to another index in another directory in the same folder and I can't for the life of me figure out what I'm doing wrong!
If anyone wants to take a look or give me a clue I would be really grateful as writing is what I do best and what I really want to do again LOL
Hope this makes sense and if not please let me know and I will try to clarify further.
regards,
Jenne
|