Okay, I want to have a method inside a class that: processes and SQL statement (with mysql_query) and then stores the result inside a multidimensional array with cols x rows of the sql results...after i get the sql to process, i have something similar to the following code (i don't have the code in front of me so i can't cut and paste):
while ($row = mysql_fetch_row($this->resultid)) {
//Dostuff to store each row
}
however it is never entering the while statement (even though i'm SURE my SQL returns several rows)...can i not use a class variable as the resultid?
Thanks for the help,
Justin Kohlhepp