> > What happens when you run this?
I made some tweaks to the way I was running sessions, and now it works. I'm
still getting an error unfortunately, but it's less conspicuous and spammy
this time:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL
result resource in
/home/virtual/site125/fst/var/www/html/atracker/assignments/index.php on
line 33
The line(and dependent lines) in question is as follows:
:::::::::::::::::::::::::::::CODE:::::::::::::::::::::::::::::
$classes = mysql_query("SELECT period1, period2, period3, period4, period5,
period6, periodpaws, period0 FROM students WHERE id = $id");
$classes_array = mysql_fetch_array($classes);
$class_info = mysql_query("SELECT * FROM classes WHERE $id =
".$classes_array[period0]);
$class_info_array = mysql_fetch_array($class_info);
:::::::::::::::::::::::::::::CODE:::::::::::::::::::::::::::::
Thanks for the help,
Blaine von Roeder
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php