Personally, I find it easier to follow the code by not going in and out of PHP mode all the time, but that's more a matter of taste. Here's a cleaner way to do it:
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
NogDog! Thank you! It works wonderfully... amazing this php. I'm often confused where javascript is needed and where php plays its role. I guess there is quite alot of overlap.
As an aside. If I were to get greedy, may I ask if it is possible to sort and rearrange the html such that the variable type passed to the page gets listed first?
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
Bookmarks