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

my two tables
table1 : col1 = topicid , col2 = topic

table2 : col1 = sentid, col2 = sentence

Cod

Date help - fetch dates for Mondays between xxx and yyy?
Does anyone know the best way to do this? I have two dates, say:

2010-01-26 and 2010-05-30

Text Not Displaying Correctly With PHP:GD
I recently moved servers and since then I have noticed that one line of text is showing weirdly.

PHP mail() with images
I'm trying to get images to send along with my HTML e-mail sent through PHP mail(). I only tried vie

Form a inline view based on the results of the previous query?
Hi Experts,
Can we form a inline view on the results of a previous query (another inline view)?

DATEDIFF Question
First time post, and of course it is a help question.

I am using a WP plug-in to display prev

checkbox update
I am having a brain fart right now and i cant remember how to do this. if anyone could help that wou

PHP and MySQL on intranet?
Is it possible to use both these on an intranet network?

single page with referrer to show correct page
I have a simple website with a couple of different pages. I would like to be able to in a div tag w

Applet JTextField Size Problem
Hello,

I recently started making an applet to calculate certain values for airplanes. However

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