quick question

From: Date: Tue, 09 Oct 2001 17:05:11 +0000
Subject: quick question
Groups: php.general 
Request: Send a blank email to php-general+get-70514@lists.php.net to get a copy of this message
Hi everyone, just forgot how to do something.... I would like to query the records where the "username" is different. In my table a lot of them are Identical and I only want them once in my result $connection = @mysql_connect("localhost", "hpool", "cdi986") or die("Couldn't connect."); $db = @mysql_select_db($db_name, $connection) or die("Couldn't select database."); $sql = "SELECT uid, username FROM users "; $result = @mysql_query($sql,$connection) or die("Couldn't execute query."); Thank You.

« previous php.general (#70514) next »