why does this model work in PHP5 but not PHP4.4?

#4
[eluser]gyo[/eluser]
Maybe this is the problem... shouldn't the $data[] = $row; be at the end of your foreach?
As you do it now, $data doesn't contain any new values like 'foundclass' etc... because it's been set before they are declared.

Anyways, CodeIgniter only logs application related information, there's no php or mysql errors logged there.
You can still try switching your local webserver to PHP4 and test it there.


Messages In This Thread
why does this model work in PHP5 but not PHP4.4? - by El Forum - 09-02-2010, 03:18 AM
why does this model work in PHP5 but not PHP4.4? - by El Forum - 09-02-2010, 03:55 AM
why does this model work in PHP5 but not PHP4.4? - by El Forum - 09-02-2010, 04:29 AM
why does this model work in PHP5 but not PHP4.4? - by El Forum - 09-02-2010, 05:06 AM
why does this model work in PHP5 but not PHP4.4? - by El Forum - 09-02-2010, 06:02 AM
why does this model work in PHP5 but not PHP4.4? - by El Forum - 09-02-2010, 07:10 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.