Hello everyone,
I first started to learn PHP about 2 years ago and kept all the stuff I'd written on a CD (Which was only really examples from books etc..)
Now I have decided to throw myself back into PHP, I have re-installed MySQL, Apache and PHP only to find my scripts no-longer work as they should.
I know that Apache/MySQL & PHP are installed correctly because I can see the scripts fine until I click a "submit button" on a form on one of the scripts. Instead of storing the info and going to the next part of a form indicated in the:
<form action=\"$PHP_SELF\" method="post">";
or to a different page as in:
<form action=\"sales.php\" method="post">";
The page just simply refreshes and does nothing except bring up a blank copy of the page I have just tried to do something with so basically putting me back to square 1. I have checked my SQL code and it is fine. I am just having trouble with submitting forms.
I hope I'm being daft and have missed something fundamental with the setup.
Please can someone provide me with an idea.
If anyone wants to see the code snippets then feel free to ask and I'll paste them in or send them on.
Thank you.
BTW I've downgraded back to MySQL 3.2.xx, Apache 1.3 and PHP4.3 as that's what I was using last year when these scripts did work.