Re: [PHP] single dimensional array questions

2004-08-04 Thread Curt Zirzow
* Thus wrote Adam Williams: > ... > > And now my question. What I need to do is create a single > dimensional array that contains each number that > count(array_unique($value)) is counting. how would I do this? I can't > use the SQL query because I have to remove duplicate cardnums for each

[PHP] single dimensional array questions

2004-08-04 Thread Adam Williams
Here is my snippet of code. It takes cardnum from the database, removes the duplicates for each individual date, and then counts how many discrete numbers there was. //database connect and selection here, now my sql statement: $sql = "select convert( varchar,eventime, 110) as date, cardnum f