View Single Post
  #3 (permalink)  
Old 2007-01-06, 08:19 AM
Wilson Wilson is offline
Junior Member
 
Join Date: Jan 2007
Posts: 12
Wilson is on a distinguished road
Default

Thanks, I knew I was no wheres close to being right. Thats what i get for relying on MyPhpAdmin for scripts!

I used your example and the result was "The number of Authors is array"

So I did a little browsing and changed your example very very slightly
Original
Code:
print("The number of Authors is " . $count);
New
Code:
print("The number of Authors is " . $count[0]);
Dont really understand why it worked, but it did.

Unfortunately, 99% of the mysql tutorials give you mysql> type information. But I guess I should be looking in the PHP tutorials to find the information I need as far as expressing the results of queries in HTML pages

Thank you much for your help, is much appreciated.
Reply With Quote