i have always used this code to manage a varable send to index:
<?php
if ($p != "") {
include("conten t".$p.".htm" );
} else {
include("main.h tm");
}
?>
When i tried to run this code in a website on a new webhost it won't work...
When i click on a link in the menu that sends a variable back to index,
nothing happends it seems that the variable doesn't get a value.
this webhost use php ver 4.3.4, the other webhost i use have php 4.1.2.
Have php changed or is this something the webhost have to look into?
any help appreciated
thanx
<?php
if ($p != "") {
include("conten t".$p.".htm" );
} else {
include("main.h tm");
}
?>
When i tried to run this code in a website on a new webhost it won't work...
When i click on a link in the menu that sends a variable back to index,
nothing happends it seems that the variable doesn't get a value.
this webhost use php ver 4.3.4, the other webhost i use have php 4.1.2.
Have php changed or is this something the webhost have to look into?
any help appreciated
thanx
Comment