Arthur Pelkey <mailto:[EMAIL PROTECTED]>
on Friday, February 06, 2004 9:46 AM said:
> $blat = $tue_5a;
[snip]
> while($row = mysql_fetch_array($result)) {
> switch($blat) {
> case tue_5a:
> $min_1 = $row[29];
> break;
> }
[snip]
> Why can I not refence the row[29] from min_1? ive tried various ways
> and nothing shows up unless i actually put the assoc array value. Any
> ideas?
i think you forgot your $ in front of the tue_5a in 'case tue_5a'?
otherwise the way you are using tue_5a the second time, appears to be a
constant and not a string or a regular variable.
hth,
chris.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php