Re: [PHP] not gettingg desired results... is my programming logic run amuck...

2004-12-28 Thread GH
Ok... Here we go > On Tuesday 28 December 2004 23:43, GH wrote: > > > > During the code... it gets to the following point... > > > > [snip] > > # > > # Check if report report is present or not # > > # >

Re: [PHP] not gettingg desired results... is my programming logic run amuck...

2004-12-28 Thread Jason Wong
On Tuesday 28 December 2004 23:43, GH wrote: > During the code... it gets to the following point... > > [snip] > # > # Check if report report is present or not # > # > if(!mysql_num_rows($dba['results']['att

Re: [PHP] not gettingg desired results... is my programming logic run amuck...

2004-12-28 Thread GH
Ok here is what I get... > >The isAttendanceReport() fails... so in the displayMenu() function I get > > > > Print Attendance Sheet > > No Attendance Report Available1 > > OK, so why does isAttendanceReport() return 0? > > When debugging it's always a good idea to plugin absolute values where >

Re: [PHP] not gettingg desired results... is my programming logic run amuck...

2004-12-28 Thread Jason Wong
On Tuesday 28 December 2004 22:29, GH wrote: Please do not top post. > The isAttendanceReport() fails... so in the displayMenu() function I get > > Print Attendance Sheet > No Attendance Report Available1 OK, so why does isAttendanceReport() return 0? When debugging it's always a good idea to p

Re: [PHP] not gettingg desired results... is my programming logic run amuck...

2004-12-28 Thread GH
The isAttendanceReport() fails... so in the displayMenu() function I get Print Attendance Sheet No Attendance Report Available1 > Note that it is good practice to use { } around your statement(s). I am under the opression that it is only for when you have multistatement groups and not just a one

Re: [PHP] not gettingg desired results... is my programming logic run amuck...

2004-12-28 Thread Jason Wong
On Tuesday 28 December 2004 13:00, GH wrote: > I am having a problem with some php that I have written... In an > attempt to clearly state the problem and how it is supposed to work > the following may be lengthy, to which I appologize for. It's better to have a lengthy explanation of what your