Hi
I've done five years of php coding for MySQL using procedural programming. The great thing about this is that debugging is foolproof. I use a text editor. PHPCoder, and echo this and that to the screen to tell me what's going on. I can echo something like
if($connect) echo "OK<br>";
else echo "Not OK<br>";
Then echo the actual query -
then echo if ($result ....... and many other things. By using logic one can get thngs right.
Not the same with oops.
I am using the ready mde PHP API for Filemaker and this builds up objects, and modifies them, and finally executes the sort of query - but one cannot echo the query to the screen to check it out. Nor can one echo many other intermediate steps - they are objects that cannot be looked at in that way. So you know it does not work but have little idea why.
The errors reported are often quite inaccurate.
If a function has an error sometimes the calling page is reported to not exist.
If a function has an error it sometimes says that the function does not exist - not what is wrong with it.
It seems to me that oops is like a beautiful sophisticated women - it hides things about itself and even tells me lies :-(
I do not find any useful stuff about debugging oops PHP rpogrammes.
Can anyone suggest any good leads???????????
Yes I do have error_reporting = E_ALL switched on.
paulsim