On 8/29/06, Ross <[EMAIL PROTECTED]> wrote:
I just get all the binary data output

<?
include("includes/config.php");
$link = mysql_connect($host, $user, $password) or die ('somethng went
wrong:' .mysql_error() );
  mysql_select_db($dbname, $link) or die ('somethng went wrong, DB error:'
.mysql_error() );

$query = "SELECT DISTINCT gallery FROM thumbnails";
$result = @mysql_query( $query,$link );

and also dont use @ to suppress errors it will cause your more
problems, turn off display_errors and keep error_reportlng at minimum
E_WARNING, and log the errors to a file.

Curt.

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

Reply via email to