John and Lou:
I'm not sure exactly what you're talking about...maybe you can help me. I have the first part of modularizing a web site done, no problem. I'm using Apache2.2.22 in a Wamp setting. So my root for this exercise is www/ADV_PHP/ch02. I modified the htaccess file for that folder (ch02) exactly as was done in the examples and also my http.conf. Nothing happens for the mod_rewrite, even though I know it's on because you can put a check mark beside it through the Wamp interface. I'm thinking it might be a problem of versions--In my http.conf, the mod_rewrite module is listed with an extension of .so, and in the exercise it's mod_rewrite.s. Although I tried modifying it both ways in the htaccess file and nothing happened.
According to John:"To complete the tip, in all action='x' or href='x' code where x references a part of your site that is enumerated as a case of the main switch, just replace x with the name y from case 'y'. Simple. Elegant. Brief."
My question is, where are these x's and y's in the code? Do you mean 'p', which is what we're using? Exactly what are you talking about here? I don't think Lou is as much of a noob as I am so I need things to be spelled out very, very simply and directly.
Any help would be greatly appreciated!
Thanks!