MySQL Forums
Forum List  »  PHP

Re: html,mysql,php copy data from one db to another
Posted by: Barry Galbraith
Date: June 17, 2012 04:55PM

Is you table really called TABLE ?

>$MirrorResult = mysql_query("SELECT * FROM TABLE");

You'd find this error in a snap, if you tested for errors when you run a query.

$MirrorResult = mysql_query("SELECT * FROM TABLE") or die(mysql_error());

Good luck,
Barry.

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.