RE: [PHP] Why is this code not working? [SOLVED]

2003-11-12 Thread Dave G
> > PHP Gurus, > If you say so... A few people have remarked about this. It's just a habit of mine. Whatever list I'm on, I address it to the "gurus" of that list. A guru being anyone who knows more than me, which is almost everyone. So on the CSS list, I address it to "CSS Gurus". On the

Re: [PHP] Why is this code not working?

2003-11-12 Thread CPT John W. Holmes
From: "Dave G" <[EMAIL PROTECTED]> > PHP Gurus, If you say so... > I'm trying to put the results of a query into an array. > My code looks like this: > $query = "SELECT datecolumn FROM table WHERE MONTH(datecolumn) = " . > $currentMonth; > $result = mysql_query($query); > $numRows = mysql_num_r

RE: [PHP] Why is this code not working?

2003-11-12 Thread Jay Blanchard
[snip] I'm trying to put the results of a query into an array. Is there some simple error that I'm over looking? What's going on? [/snip] Have you tried mysql_fetch_array()? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Why is this code not working?

2003-11-12 Thread Dave G
PHP Gurus, I'm trying to put the results of a query into an array. My code looks like this: "; } echo "The results of the array are - " . $workshops[0] . " and " . $workshops[1]; ?> When I run this, the output to the screen says: --- Array Array