Working on:
Win 98 / mysql 3.23.55 / php 4

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';

The output was:

x------------x
user         |
x------------x
|                |
|                |
root          |
x------------x

2 rows in set

.....................................

In the Wrox book on PHP (page 396) by running that query it is:

x----------x
user      |
x----------x
root       |
x---------x

1 row in set

........................................
I'm not sure why I'm getting two rows.
Many thanks for your assistance.
TR




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

Reply via email to