Question For lozloz ONLY
Posted on 2003-12-01
Hi again loz!
I have a script written in ASP that I use to display multiple pages of content with only one page....
Here is the script I use: <%ASP%>
if action = "" then
action = "home"
Select Case action
As I'm just beginning to learn PHP (and mind you it hasn't been as easy as I thought it would be) could you please give me a PHP example for converting this code?
Also, one other question I have is this....I reference all of my links by calling the value of the page I'm on (i.e., <a href="<%Request.ServerVariables("SCRIPT_NAME")%>?action=payments">). The page the Request.ServerVariables will call is the index page. Can you also give an example of that in PHP?
I hate to be soo much trouble, but I was very pleased with your help in my previous question.
Thanks in advance,