PHP Classes

Bug report

Recommend this page to a friend!

      Cascade Dropdown 3 Levels  >  All threads  >  Bug report  >  (Un) Subscribe thread alerts  
Subject:Bug report
Summary:Minor bug report
Messages:6
Author:Alan Burchell
Date:2005-05-10 13:39:28
Update:2006-01-30 17:26:33
 

  1. Bug report   Reply   Report abuse  
Picture of Alan Burchell Alan Burchell - 2005-05-10 13:39:28
Line 164

for($j=0;$j<count($this->arrBrand);$j++){

should be

for($j=0;$j<count($this->arrModel);$j++){

thanks for an otherwise excellent utility.

  2. Re: Bug report   Reply   Report abuse  
Picture of Gobinath Mallaiyan Gobinath Mallaiyan - 2005-05-10 13:59:34 - In reply to message 1 from Alan Burchell
Hi Alan,
Thanks for the Report. Now the Bug is fixed

  3. Re: Bug report   Reply   Report abuse  
Picture of alexten alexten - 2005-05-12 03:26:31 - In reply to message 2 from Gobinath Mallaiyan
I tried to run and but it is not working with the below error code:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in c:\webs\test\list\DynamicDropDown.class.php on line 92
i am using php5 and mysql 4. please advise. Thanks

alex

  4. Re: Bug report   Reply   Report abuse  
Picture of Gobinath Mallaiyan Gobinath Mallaiyan - 2005-05-13 12:47:38 - In reply to message 3 from alexten
Hi alex,
i just want to know which web server u r using for windows, i just want to try it out in that.

Since i does not get this kind of bug.

gobinath

  5. Re: Bug report   Reply   Report abuse  
Picture of deva deva - 2006-01-30 14:34:46 - In reply to message 4 from Gobinath Mallaiyan
Hi,

I too have the same error below.

I use PHP4.0.18 mysqlnt on Windows.

DynamicDropDown - The class is to Fetch values from the DB and display in 3 ListBox.
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in c:\inetpub\wwwroot\listbox\DynamicDropDown.class.php on line 92

Is that due to PHP Version?

Please suggest
regards
deva

  6. Re: Bug report   Reply   Report abuse  
Picture of Gobinath Mallaiyan Gobinath Mallaiyan - 2006-01-30 17:26:34 - In reply to message 5 from deva
Hi deva,

Please check that your SQL is right or you have made any modification to the script which you have obtained from the PHP classes site. I see there should be a mistake in SQL only


Gobi