Re: [PHP] Will not report errors what can I do

2008-12-05 Thread Terion Miller
On Fri, Dec 5, 2008 at 12:08 PM, Robert Cummings <[EMAIL PROTECTED]>wrote: > On Fri, 2008-12-05 at 10:40 -0500, tedd wrote: > > At 3:19 PM + 12/5/08, [EMAIL PROTECTED] wrote: > > > > $result = mysql_query($query) or die(report($query,__LINE__ > ,__FILE__)); > > >> > > >> //==

Re: [PHP] Will not report errors what can I do

2008-12-05 Thread Robert Cummings
On Fri, 2008-12-05 at 10:40 -0500, tedd wrote: > At 3:19 PM + 12/5/08, [EMAIL PROTECTED] wrote: > > > $result = mysql_query($query) or die(report($query,__LINE__ ,__FILE__)); > >> > >> // to show dB errors == > >> > >> function report($query, $line,

Re: [PHP] Will not report errors what can I do

2008-12-05 Thread tedd
At 3:19 PM + 12/5/08, [EMAIL PROTECTED] wrote: > $result = mysql_query($query) or die(report($query,__LINE__ ,__FILE__)); // to show dB errors == function report($query, $line, $file) { echo($query . '' .$line . '' . $file . '' . mysql

Re: [PHP] Will not report errors what can I do

2008-12-05 Thread ceo
> $result = mysql_query($query) or die(report($query,__LINE__ ,__FILE__)); > > // to show dB errors == > > function report($query, $line, $file) > { >echo($query . '' .$line . '' . $file . '' . > mysql_error()); >} > > This does t

Re: [PHP] Will not report errors what can I do

2008-12-05 Thread tedd
At 3:07 PM -0800 12/4/08, Jim Lucas wrote: Terion Miller wrote: > $query = "SELECT ViewAllWorkOrders FROM admin WHERE AdminID='$AdminID'"; $result = mysql_query ($query); Not the best solution, but add this to the above line... $result = mysql_query ($query) or die(mysql_error());

Re: [PHP] Will not report errors what can I do

2008-12-05 Thread Robert Cummings
On Fri, 2008-12-05 at 08:15 +, Ashley Sheridan wrote: > On Fri, 2008-12-05 at 00:00 -0500, Robert Cummings wrote: > > On Fri, 2008-12-05 at 17:44 +1300, German Geek wrote: > > > On Fri, Dec 5, 2008 at 4:26 PM, Robert Cummings <[EMAIL PROTECTED]> > > > wrote: > > > On Thu, 2008-12-04 at

Re: [PHP] Will not report errors what can I do

2008-12-05 Thread Ashley Sheridan
On Fri, 2008-12-05 at 00:00 -0500, Robert Cummings wrote: > On Fri, 2008-12-05 at 17:44 +1300, German Geek wrote: > > On Fri, Dec 5, 2008 at 4:26 PM, Robert Cummings <[EMAIL PROTECTED]> > > wrote: > > On Thu, 2008-12-04 at 15:07 -0800, Jim Lucas wrote: > > > Terion Miller wrote: > >

Re: [PHP] Will not report errors what can I do

2008-12-04 Thread Wolf
Jim Lucas wrote: > Johny John wrote: >> HI Terion, >> Please put the error reporting on top of the page and try. If you have >> any >> errors in the include file, it won't execute the rest of commands. >> Make the >> changes to code as follows. >> >> > error_reporting(E_ALL); >> ini_set('display_

Re: [PHP] Will not report errors what can I do

2008-12-04 Thread Robert Cummings
On Thu, 2008-12-04 at 21:28 -0800, Jim Lucas wrote: > Johny John wrote: > > HI Terion, > > Please put the error reporting on top of the page and try. If you have any > > errors in the include file, it won't execute the rest of commands. Make the > > changes to code as follows. > > > > > error_rep

Re: [PHP] Will not report errors what can I do

2008-12-04 Thread Jim Lucas
Johny John wrote: HI Terion, Please put the error reporting on top of the page and try. If you have any errors in the include file, it won't execute the rest of commands. Make the changes to code as follows. Regards, Johny John This still doesn't address his possible parse error problem.

Re: [PHP] Will not report errors what can I do

2008-12-04 Thread Johny John
HI Terion, Please put the error reporting on top of the page and try. If you have any errors in the include file, it won't execute the rest of commands. Make the changes to code as follows. Regards, Johny John www.phpshore.com On Fri, Dec 5, 2008 at 3:50 AM, Terion Miller <[EMAIL PROTECTED]>w

Re: [PHP] Will not report errors what can I do

2008-12-04 Thread Robert Cummings
On Fri, 2008-12-05 at 17:44 +1300, German Geek wrote: > On Fri, Dec 5, 2008 at 4:26 PM, Robert Cummings <[EMAIL PROTECTED]> > wrote: > On Thu, 2008-12-04 at 15:07 -0800, Jim Lucas wrote: > > Terion Miller wrote: > > > Hey everyone I am still fighting the same problem that my

Re: [PHP] Will not report errors what can I do

2008-12-04 Thread German Geek
On Fri, Dec 5, 2008 at 4:26 PM, Robert Cummings <[EMAIL PROTECTED]>wrote: > On Thu, 2008-12-04 at 15:07 -0800, Jim Lucas wrote: > > Terion Miller wrote: > > > Hey everyone I am still fighting the same problem that my script isn't > > > working and its not reporting errors, when you click to "view"

Re: [PHP] Will not report errors what can I do

2008-12-04 Thread Robert Cummings
On Thu, 2008-12-04 at 15:07 -0800, Jim Lucas wrote: > Terion Miller wrote: > > Hey everyone I am still fighting the same problem that my script isn't > > working and its not reporting errors, when you click to "view" the work > > order it doesn't do anything, I have all kinds of error reporting tur

Re: [PHP] Will not report errors what can I do

2008-12-04 Thread Jim Lucas
Terion Miller wrote: > Hey everyone I am still fighting the same problem that my script isn't > working and its not reporting errors, when you click to "view" the work > order it doesn't do anything, I have all kinds of error reporting turned on > but nothing, do I have them syntax wrong? > > inc

Re: [PHP] Will not report errors what can I do

2008-12-04 Thread Ashley Sheridan
On Thu, 2008-12-04 at 16:20 -0600, Terion Miller wrote: > Hey everyone I am still fighting the same problem that my script isn't > working and its not reporting errors, when you click to "view" the work > order it doesn't do anything, I have all kinds of error reporting turned on > but nothing, do

[PHP] Will not report errors what can I do

2008-12-04 Thread Terion Miller
Hey everyone I am still fighting the same problem that my script isn't working and its not reporting errors, when you click to "view" the work order it doesn't do anything, I have all kinds of error reporting turned on but nothing, do I have them syntax wrong? 'OK' ){ header ("Location: LogOu