Line Number

From: Date: Mon, 11 Sep 2000 12:49:30 +0000
Subject: Line Number
Groups: php.general 
Request: Send a blank email to php-general+get-16161@lists.php.net to get a copy of this message
Dear Sir/Madam I want to know how can i get the number of the line that is parsing. suppose that i have a die function and i want to print line number for example see below lines: ////////////////// mysql_db_query("something" , "Select * from 'tbl_book") or die("SQL Error at line $LineNo); ////////////////////// I want to set line number to the LineNo so programmer can imagine which line of code cause an error. Thanks a lot ------------------------------------------------------------ Iranian search people , Add yourself -> http://www.rahnema.com/people/register

« previous php.general (#16161) next »