Issue with PHP function

Hier können Sie von gefundenen Bugs berichten. Wir sind für jeden Hinweis dankbar.

Moderators: severin, Dirk Einecke

Post Reply
sprintlife
Posts: 3
Joined: Tue 8. Apr 2008, 07:31

Issue with PHP function

Post by sprintlife » Tue 8. Apr 2008, 07:34

Hey everyone,

Here is this issue I have came cross. I wrote this code 2 years ago and for some reason it's not working... I do believe it's the MAMP PHP setup. Please help... :cry:

Code: Select all

<?php 
if(!isset($page)) $page="home"; 
include("pages/$page.php");
?>
The code makes the URLs like this index.php?page=whatever
If you know a work around that will help too

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests