hi,
i have a page with 12 includes and every include get few querys.
in order to locate the query that returned mysql_error() i want to know the line number.
something like that
<?
mysql_query($query) or die(mysql_error()." in page: ".$_SERVER['PHP_SELF']." line: ".line_number()) ;
?>
is there a function like that: line_number()
thanks