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

Relative path
I have a absolute path to an image - like so: C:/Program Files/Apache Software Foundation/Apache2.2/

Help with Contact Form
I have this Form on an html page and the associated code on page.php (below).
I keep getting the

update the selected existing records of database
Hi frndz,
I am new to php and get stuck....

Edit.php > Update.php > Updatea

Warning: session_start() [function.session-start]: Cann.....
hi, can someone help me with this? I keep getting this error....

Warning: session_start() [fu

Help with simple query
Hi,

I'm trying to do a Query with a Union where I want to print the number of rows $tc conta

problem getting my contact form working
Yeah I know this is a pretty basic problem, but it's been a while since I've worked with PHP and I'm

PHP MySQL Return Results Issue
Hi guys,

I'm running joomla and made a module which is using ajax.
Basically i just have a

Business Health Check
Hello

I need to create an online business health check for a client it will be multiple choi

Form Help
Here is the form:

Line number On/Off | Expand/Contract<? include("../include/sess

trim function issues
Hi guys, total noob here...

So I've been tinkering around with a html and am using php to em

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