This content has been marked as final.
Show 2 replies
-
1. Re: MySQL error on localhost, but not remote!!
David_Powers Apr 7, 2013 6:22 AM (in response to matthew stuart)The reason you get an error locally, but not on the remote server is almost certainly because the remote server has the PHP display_errors configuration setting turned off. The error still occurs, but it's not displayed. Most hosting companies turn off the display of errors for security reasons.
Looking at the code you have given here, it looks as though the error is caused by using the wrong variable name for the recordset. The recordset is $rs_domain, but you're passing $rs_reg_domain to mysql_free_result().
-
2. Re: MySQL error on localhost, but not remote!!
matthew stuart Apr 7, 2013 5:20 PM (in response to David_Powers)Ah, of course. Sometimes I can't see what is right in front of me!
Thanks David



