Hey I'm new and just like homer thinks thee internets is great!!
anywho i have this include file that isn't getting its variables from the main page, everything is working okay, the include file is being posted, it's just this variable isn't getting its value from the main index page, the page goes like this
$the_header .= "\t<title>".$title."</title>\n";
this is a general html title section, and i want this variable to be recieve its value from index.html, the page to be included, why is it not?
<?php
$title = "Ken Wood";
$image = "sample1.gif";
//Includes html header and footer file
include("includes/headers_footers.php");
//print header
print (html_header());
anywho i have this include file that isn't getting its variables from the main page, everything is working okay, the include file is being posted, it's just this variable isn't getting its value from the main index page, the page goes like this
$the_header .= "\t<title>".$title."</title>\n";
this is a general html title section, and i want this variable to be recieve its value from index.html, the page to be included, why is it not?
<?php
$title = "Ken Wood";
$image = "sample1.gif";
//Includes html header and footer file
include("includes/headers_footers.php");
//print header
print (html_header());