PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
tags where appropriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]
Hi All
I am new to php, php page is not displaying whenever I use Class.
Following is my code, which is not displaying anything, simply displaying the blank page.
I am using PHP Version 5.0.4.
Can you please help to solve this problem.
Thanks in Advance
Regards
Rahma
No you don't "Have" to have one. IMHO its a good idea for people learning OOP to always have one. You are correct though, that wasn't the cause of the error as I stated above.
Check your PHP configuration file and ensure any setting for displaying errors is enabled. Can also set error_reporting() in your scripts. Might be logging the errors by default rather than display them (a safer default for public servers).