Re: [PHP-WIN] Thoughts on real cause of a 500 internal server error

2012-03-12 Thread Jacob Kruger
page or includes), for example, when you have to make two or more loops in the same page. And you definitely can use num_rows before data_seek. []'s Jean -Mensagem original- De: Jacob Kruger [mailto:jac...@mailzone.co.za] Enviada em: segunda-feira, 12 de março de 2012 11:17 Para: php-wi

Re: [PHP-WIN] Thoughts on real cause of a 500 internal server error

2012-03-12 Thread Jacob Kruger
That does make sense, and will definitely look into reordering the code to first check that something has been returned, but was actually under impression that had to execute data_seek(0) before could retrieve num_rows property, but, this does actually make more sense, but, you'll see in my other

Re: [PHP-WIN] Thoughts on real cause of a 500 internal server error

2012-03-12 Thread Jacob Kruger
OK, feel silly now. As soon as I implemented real error handling, it told me that the $dbPassword variable was undefined, and thus the connection to the mySQL server while it had gone through, was not allowed to actual render a result set as such, due to permissions. Seems that while have be