PHP Include not working


Posted on 16th Feb 2014 07:03 pm by admin

The website is http://www.grlistingservices.com

The code block is as follows:

Did you know?Explore Trending and Topic pages for more stories like this.
<?php
if (!isset($id))
{
include 'home.php';
}
else
{
include "$id.php";
}
?>

All files are in the same directory, I am running php5.x on a windows server with GoDaddy.
This website used to work at my hold host, I just switched it today
No comments posted yet

Your Answer:

Login to answer
111 Like 14 Dislike
Previous forums Next forums
Other forums

form help
this doesn't work. i want the form action to go the location.href of the submit button chosen.. how

PHP/Database issue
My friend is helping me make a database where you go to a certain webpage of my site and the page wi

Date/Time and Checkbox
Hi Everyone,

I am trying to figure out how to insert the current date and tim

images aren't rendering
I'm trying to call a JPG file from within PHP (in an effort to hide the actual JPG folder). The imag

Need help in Generating Combinations
Need help generating all possible combination of names in an array

Lets say i have the follow

how to load a Sys file with system load and call images?
normally you need register the module as a service with CreateService, and start the service

Streaming local file from PHP while it’s been written to by a CURL process
I am creating a simple Proxy server for my website. Why I am not using mod_proxy and mod_cache is a

Help with setcookie()
Merry Xmas to those on this foruum
Older guy here with some experience but not allot so please be

New to Arrays
Hi I am new to PHP (a week and a half now) and I am just beginning to read about arrays. I understan

A little help in c#
i am doing a simple paint program using c# i want to draw with the mouse so i wrote the code of the

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash