Re: mysql/php query - wrox

From: Date: Mon, 03 Feb 2003 03:07:26 +0000
Subject: Re: mysql/php query - wrox
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-134078@lists.php.net to get a copy of this message
--- Anthony Ritter wrote: > I installed mysql 3.23.55 and wanted to check the user > table in the mysql db. > > The query was: > SELECT User FROM user WHERE host='localhost'; This is a PHP list. There are mailing lists for MySQL that you should check out if you are having trouble understanding databases. Your query returns two rows because you have two rows in the database that match the condition: host='localhost' -- Chris

« previous php.general (#134078) next »