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

Query failed issue with php script but works fine in mssql manager!
hi i have the script below which copies data from one table to another but will only insert new data

preg-match with a string and numbers
Hi, I can't get the expression to work for my preg_match, what I'd like is for it to match the strin

replacements
I have a variable in my PHP script like

ASSFDDDDDDDDDDDDDASDDDDDDDDARYTRHKKHHHHHHHHHHH and p

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

problem with php server update from mid 2009
Hi,

I have this navigation menu on 2 websites which used to work just fine. After a recent up

PHP FTP connect doesn't work with correct login
Hi!

i am working on this test code:
Quote<?php

$ftp_ser

strtotime issue
Hey all,

I'm playing around with some code, and basically the idea is:

Person changes

Generating unique numbers using php
Hi,
I need help in generating unique number using php.I tired using rand() in php.But, by using r

Email Processor
I have a few questions so this post will be a larger one! Sorry, but I'm a bit of a PHP newbie so be

check if value exists
I have googled this for a while and I am getting lots of different results. Is there a standard meth

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