Old VB coder here trying to learn PHP. I have downloaded 2 different editors, PHP Designer and HTML-Kit in order to assist my old eyes in catching errors while I code.
I have created a simple HTML page with PHP code inside. I am just doing a simple DB connect to query a Table and display the rows. Something is not working correctly, because when I preview the code or upload the page to my Webhost (my webhost uses PHP4), it just displays the code instead of the output that should be generated, so I assume I have a syntax error somewhere.
The problem is, neither one of these editors will check my code to see if I'm missing a { ; or anything else (like how VB will help correct missing items).
So my question is, what is an easy way to validate my code?
Also, if I post my code, can someone review it for me and see if they can see what I'm doing wrong?
Thanks for any help.