karl james wrote:
Can you tell me why this code is not working?
I get a query is empty at the moment.

http://www.theufl.com/php/wrox_php/movie_details.phps

Didn't we already see this once?

From File:
> $movie_query in mysql_query();

What kind of PHP code is that? You could really help yourself by telling us what query failed... what line it's on and only that line and a couple around it. Do you think a lot of other people are boring like me and going to read your code on Christmas? If you don't know what query is failing, then use more than mysql_error() in your die statements...

$review_result = mysql_query($review_query) or die('Query to pull reviews has failed. Reason: ' . mysql_error());

--

---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

php|architect: The Magazine for PHP Professionals – www.phparch.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to