RE: [PHP-DB] MySQL Query Weirdness

2001-09-21 Thread Rick Emery
[EMAIL PROTECTED] Subject: Re: [PHP-DB] MySQL Query Weirdness When you use mysql_fetch_array you're actually retrieving an array with two copies of the value you're looking for. One is indexed by the column number and one indexed by the column name. So it looks like you're lo

Re: [PHP-DB] MySQL Query Weirdness

2001-09-20 Thread Steve Cayford
When you use mysql_fetch_array you're actually retrieving an array with two copies of the value you're looking for. One is indexed by the column number and one indexed by the column name. So it looks like you're looping through them both and printing each out. You might want mysql_fetch_assoc

[PHP-DB] MySQL Query Weirdness

2001-09-20 Thread Chris S.
Hello, I'm new at this php/mysql stuff, so go easy on my guys. I've got my query script up and working, but the problem is I'm getting the same column printed twice on the html output. Here is the output: Connected successfully Chris Chris Mark Mark Mike Mike Dee Dee etc... Here is my .