joseph2k
Posts: 72
|
| Posted: 11/25/2006, 11:30 PM |
|
Anybody figured out how to capture or trap the database errors for say PHP and mySql?
I saw http://forums.yessoftware.com/posts.php?post_id=65535&s...e+Error+capture
but this was 2 years ago...
|
 |
 |
JayEdgar
Posts: 77
|
| Posted: 11/27/2006, 8:50 AM |
|
It's best to capture problems before they ever get to the database - add code into OnValidate for whatever object and ensure everything is correct before sending a SQL command.
Jay
|
 |
 |
joseph2k
Posts: 72
|
| Posted: 11/27/2006, 10:32 AM |
|
Yes... I absolutely agree but I still want to prevent the ugly message from ever showing up on a user screen either through a fault on mine or database or hoster limitations.
If something can go wrong it just might when you least expect it.
Question still stands...
|
 |
 |