RE: Help with mysql_fetch_array

2002-11-09 Thread Chip Shabazian
ok, here is my code without all of the html (sorry people). I'm trying to get a sum of the field runtime. With this code, I get "Resource id #3" as an error. Any help getting me to the proper result would be greatly appreciated. ".$dvd_time_result.""; ?> Thanks, Chip

Help with mysql_fetch_array

2002-11-09 Thread Chip Shabazian
Ok, I can't figure out how to make my "select sum(runtime) from list" query work properly. At the bottom is the entire page. I've tried a few different things, but can't figure out how I'm SUPPOSED to set this up. Here is what I think are the relevant lines: $dvd_time_query = "select sum(runtim