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:

<?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

how to get values from $_Post with onchange="form.submit();"?
Hi, I have a form that submit to itself with a file upload field and two other hidden field values.<

Change of partner analyse in sales orders
Hello,

I changed the partner analyse for sales orders and added a new mandatory partnerro

PHP Session Issue
I'm having an issue with one section on my website dealing with sessions. Now I know that myself and

Slow data retrieval which requires improvement..please help
I am working on a Help Desk Ticketing system and have a page called MY TICKETS which shows all ticke

Creating a custom API
I'm creating a site, and I need to create a basic API. Unfortunately I have no idea where to start.

whats wrong with my code please help!!!
this is the error


Warning: mysql_close(): supplied argument is not a valid MySQL-Link res

HTML Email rec'd as Source Code
The code does create and send the email successfully. However, the message shows as html code and n

Best way to check for end of a record and send it back to the first record
I'm hoping someone can help me out and explain the best way to accomplish this.

What I'm doin

Displaying returned XML in another PHP page
I have an online payment form that will return XML given if a payment is successful or declines. I

Download Image from URL and Upload it
Ok, I have been googling for the last 1/2 hour trying to figure this out, Most likely I'm just not s

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