Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
Old Aug 21st, 2007, 12:56 PM   #1
sagedavis
Newbie
 
Join Date: Jan 2007
Location: Taylor, TX
Posts: 18
Rep Power: 0 sagedavis is on a distinguished road
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
__________________
I reject your reality and substitute my own.

If you aren't learning, you aren't living.
www.an8search.com
sagedavis is offline   Reply With Quote
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
do you prefer high level or low level? ShadowAssasin Coder's Corner Lounge 3 Jun 13th, 2006 12:45 PM
A level Oddball C++ 20 Feb 8th, 2006 6:52 AM
how to display a binary-tree vertically? sinix C 17 Nov 12th, 2005 6:07 PM
Question about level rendering gardon C++ 6 Feb 14th, 2005 12:46 PM
PHP Includes? scorpiosage PHP 5 Feb 4th, 2005 2:46 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:59 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC