A quick one is: if you get a blank page, it's usually due to some PHP syntax or other error. So it is important to have access to the PHP error log while developing in PHP so you can quickly identify what's wrong.
Other than that, there are lots of posts here about good PHP IDEs so you may want to search through old posts. Eclipse is a good one and free and gives you great language tools for PHP in conjunction with PHPEclipse. google.co.nz and php.net are your friends :) Johari wrote: > Hi, > > I'm still new to this forum. Currently I'm at final Semester in CPIT > doing Grad Dip in ICT. My project is to build an e-commerce website > and I have done the E-R diagram, Data Dictionary, etc for the > database. I was given a space at Techlabs Server and I had created a > database tables and inserted sample data. I had finished testing all > type of SQL queries needed and tested directly with the MySQL Database > Server. It's all fine even though I had few difficulties at first. > > The "real" problem started when I used PHP to communicate with the > MySQL Server. When I uploaded my finished "test" version and run it in > my browser, I get a blank page - obviously it's not running as > expected, and I didn't know what's wrong with my code. I use Notepad++ > to configure the codes. > > Therefore, I had to re-code again.... and check my codes line by line > comparing to the working codes just to find out what had went wrong. > Then I found out that I missed the (;) in one of the codes. This > problems, took me 1 1/2 days. That's a setback since I was thinking to > write the PHP codes and upload it to the server bit by bit. Now maybe > I have to do everything locally, and only upload the final one. But I > also want to make sure that it will work with the server (as part of > my QA plan). > > I have read few books and I was told how to write a good code, but not > really how to write it efficiently... so, while I'm still googling > around to find an efficient way to write a good code, can anyone can > give me some advise based on your experience dealing with PHP horrors? > > Thank you very much for your time. > > Johari > > > --~--~---------~--~----~------------~-------~--~----~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [EMAIL PROTECTED] -~----------~----~----~----~------~----~------~--~---
