|
Posted by Skeets on 02/15/06 06:57
howard, this is where debug skills come in. try something like
echo 'here';
die;
and place it within your script. if you see it, move it forward. if
you don't move it backwards until you see it. you can find the
location of the error.
i *highly* recommend the adodb db abstraction layer. i use it with
postgresql, but i would use it exactly the same with the mysql, too.
that's the point. ;-)
http://phplens.com/lens/adodb/docs-adodb.htm
you should also test to make sure you are connecting to the db. is a
recordset being produced? you need to know how to check for these
kinds of things.
adodb has db debug capability, too.
set
$db->debug = true;
it tells you if and where the deb chokes.
i never was able to get phpp error reporting when displaying php
(winxp, php-cgi), but i use and ide that is able to debug my php. this
*really* helps.
i also use a forms generation and validation class by manuel lemos - it
is great. it can be found on phpclasses.org.
this is no easy project, but if you go head first and keep moving your
feet, you will get somewhere. i know i did.
Navigation:
[Reply to this message]
|