![]() |
2nd level includes
I am having a strange issue, and perhaps it's a coding error, or perhaps not.
I am working on a site, where the content of each page is called in an "include" All of my stuff is done this way because the site is a module with a specific purpouse and the content itself doesn't need to be exhaustive, just explanitory. I have a couple of forms I am working with and portions of the form coding are reused throughout the site. Anyway, here's where I am going. Example: Visible page is called facilities.php facilities.php echos $frmcrtsrch from pages.php $frmcrtsrch in pages.php has to also be able to echo $frmstate from states.php So far, none of this is database stuff at this point, it's just echoing static information. I consider myself quite good (not a pro, but fairly good) with PHP, but, I am stuck as to why this isn't working. the $frmstate is just a select/option box with the states of the USA to be selected in this particular form. So, it is being called up within the rest of the form. Basically, I am using an include within an include, and logically, it should work. I have tride the syntax for all of this in several ways but I either come up with syntax errors, or, the form just prints the word $frmstate where the selection box should be. Any help on this one? Thanks Sage |
Have you considered posting your code, or shall we just pluck stuff out of our nether regions according to how we interpret your unclear post? Be sure to read the sticky "How to Post" thread.
|
| All times are GMT -5. The time now is 1:05 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC