Menekali Posted July 14, 2007 Share Posted July 14, 2007 Hi everyone. I know it's my first post and I've got a question, but I really do want to hang around and contribute the best I can I'm wondering, I have the following file: http://pastebin.com/d27380838 I get the following error on line 13: Assignment in condition (line 13) That's what Zend throws at me. Any help to how i can fix this would be GREATLY appreciated Thanks in Advance! Quote Link to comment Share on other sites More sharing options...
kickassamd Posted July 14, 2007 Share Posted July 14, 2007 replace your line 13 with while(($row = mysql_fetch_array($rs, MYSQL_ASSOC)) != false) Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted July 14, 2007 Share Posted July 14, 2007 try while($row = mysql_fetch_assoc($rs)) Quote Link to comment Share on other sites More sharing options...
Menekali Posted July 14, 2007 Author Share Posted July 14, 2007 replace your line 13 with while(($row = mysql_fetch_array($rs, MYSQL_ASSOC)) != false) Thanks, that cleared my error right up! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.