when using die(), how can i get the line number that errored?
| From: | Noah Spitzer-Williams | Date: | Sun, 28 Jan 2001 21:21:18 +0000 |
| Subject: | when using die(), how can i get the line number that errored? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-37196@lists.php.net to get a copy of this message | ||
here's my code:
$res = mysql_query($badsqlstatement) or die(errtrapper());
inside errtrapper(), is there a way to find out what line this error
occurred?
thanks!!
- Noah