Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
June 15, 2007, 3:13 pm
rate this thread
Okay, nothing massively special or complicated, but it was a problem thats
been bugging me for a few weeks now.
I just couldn't work out how to do it, or even if it was possible at all.
Then, as I sat watching the thunderstorms at 3 o'clock in the morning from
the side of my bed, I suddenly had a moment of clarity in which I realised
there's an extremely simple solution.
The PHP loads and executes first on the server, delivering the HTML and
the variable using the value that was already established in the PHP.
Okay, so I know most of you out there are sitting there reading this and
saying "Jeeze Sam, that's beginners stuff. A schoolkid could have figured
that out", and you'd be right.
But I don't really care, because that's not the point of my post.
The point is that I had been wrestling with this for ages, and I refused to
give in and consult Google. So when I did finally figure it out got one of
those special puzzle-solving smug moments that makes this line of work so
worthwhile and rewarding.
Re: Wooooo...I just figured something out all by myself.
Yeah, I had one of those moments myself the other day, I was getting a
404 on the main nav links on a new project I am working on, the pages
were in the sub-directory. But it was quite simple to fix, I just
wrote a new nav file with the links poiting to the files on the main
directory of the server. It was not that hard at all.
Regards Chad. http://freewebdesign.awardspace.biz
- » Why does float attribute change padding behavior in link tag embedded in list?
- — Next thread in » Webmaster Forum