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! Link to comment https://forums.phpfreaks.com/topic/60007-solved-minor-php-error-i-could-use-help-with/ 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) Link to comment https://forums.phpfreaks.com/topic/60007-solved-minor-php-error-i-could-use-help-with/#findComment-298450 Share on other sites More sharing options...
ToonMariner Posted July 14, 2007 Share Posted July 14, 2007 try while($row = mysql_fetch_assoc($rs)) Link to comment https://forums.phpfreaks.com/topic/60007-solved-minor-php-error-i-could-use-help-with/#findComment-298452 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! Link to comment https://forums.phpfreaks.com/topic/60007-solved-minor-php-error-i-could-use-help-with/#findComment-298459 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.