I haven’t programmed in php (or anything for that matter) for 3 years. So when I tried to get some of my old code working recently its been very frustrating. I had to rebuild it all from scratch.
All my data entry forms validate themselves with if statements that decide whether the form is asking for or receving data. It turns out that you can’t write if(submit) anymore you have to write if($_POST["submit"]).
Plus the use of “” and ‘ ‘ in SQL statements has changed. I haven’t managed to workout exactly how – I just did it by trial and error (bashing my head against a wall method). No wonder WordPress keeps breaking.
Any way I needed to get my programming head on again. Its good to succeed in a task, even though it took a day instead of an hour.