Minor MySQL Issue

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Not to sound patronizing but where did you put it? After the mysql_fetch_assoc() call?

I'd suggest changing the mysql_query() call to have "or die(mysql_error())" inserted between the closing paren in the call and the semicolon.
User avatar
Devnull
Forum Commoner
Posts: 52
Joined: Fri Oct 22, 2004 2:19 pm

Post by Devnull »

What I did was the following.

Code: Select all

<?php
include('includes/global.php');
get_area()
var_export($array);
?>
Post Reply