Topkat Wrote:
-------------------------------------------------------
> It's me being a donut, lol
>
> I tried to run the file by double clicking on it
> inside the www folder. I didn't think I needed to
> start the HTML from localhost. Hopefully this post
> will help any other newbies who make the same
> mistake as me :-)
>
> Sorry for wasting your time!
))
>
> Thanks again!
Hi Topkat (and 'all' for that matter)!
I have just bought the same book you are using and have gone through the same headaches as you did. I just pulled the code from the cd (while WAMP - and later XAMPP- was running), double-clicked the orderform HTML file, completed the form and then submit. To my unpleasant surprise I only ended up with a bunch of code in the preprocessor.php being displayed in the browser.
Maybe I did not read carefully the instructions in the book but I can not find details on how to run this whole game. Assumptions of the authors of any prior knowledge on the part of the reader knocks me of my feet, as I only have an intermediate knowledge of Java but I am a complete novice to WAMP and PHP in general.
When you said you have started your HTML file from localhost, what did you mean by that?
Obviously guys, my questions do reveal my novice status so please don't get annoyed and bear with my infirmities.
In case Topkat is not looking at this post anymore, can someone else (who understood his statement) shed some light on the issue of starting a file from localhost. As a silly shot in the dark I copied the files involved in various locations in the WAMP folder, but no joy.
Man, I hate being a novice! Can't wait to change my status on this one!
Many thanks
Ty