smartguyin Posted December 25, 2006 Share Posted December 25, 2006 In my index.php i had included header.php and footer.php<?include "header.php//////// BODYinclude "footer.php?>Now in header file there is title tag.... i want to use one $var variable from footer.php file but i am not able to do it coz footer.php file is included after header.php...... sooo i cannot get the Title in header.php file to be displayed........footer.php file is the main body which interacts with mysql database and works.... sooo i suppose there is product description stated as a variable in footer.php i want to use tht variable in header.php .........please tell me how to do it........... Link to comment https://forums.phpfreaks.com/topic/31810-trf-of-variable-from-footerphp-to-headerphp/ Share on other sites More sharing options...
smartguyin Posted December 25, 2006 Author Share Posted December 25, 2006 Please Help !!!!! Link to comment https://forums.phpfreaks.com/topic/31810-trf-of-variable-from-footerphp-to-headerphp/#findComment-147585 Share on other sites More sharing options...
kenrbnsn Posted December 25, 2006 Share Posted December 25, 2006 Please be a little clearer when posting your problem. Posting source of the included files would help also. Please surround all code with [nobbc][code][/code][/nobbc] tags.Ken Link to comment https://forums.phpfreaks.com/topic/31810-trf-of-variable-from-footerphp-to-headerphp/#findComment-147587 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.