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

please fix the error
What is the error in the below code ???
Line number On/Off | Expand/Contract <?php

Regular expression tips or resources
Hello! I'm having some issues implementing the appropriate regex patter to eliminate unwanted charac

Remote Database Access
Hey guys!!

OK, i'm used to only working with databases from the CPANEL, accessing phpMyAdmin

Help with search.php
Hello All

I need the search engine on a site I am building at the moment to display the searc

Syntax Help
I'm trying to make a form that edits a php file which contains config settings. I'm using strings t

Paypal
Hi all,

I have an advanced basic knowledge of php

I want to try something new for a s

Php WordPress help
I am writing the following code for making a plugin

<?php
header("Content-Type

If statement help please.
Hello on my site I have 2 content boxes. 1 is for the main content (which is the biggest one) and th

Internal Server Error issues
This has been bothering me for weeks and I've been trying to solve it without asking for help, but e

Remore client postprocessing phase getting dump SAPSQL_ARRAY_INSERT_DUPREC
Hello Expects,I have started remore client copy. Data was copied successfully. but while running pos

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