Posted by Steve on 04/16/07 22:20
| >btw, wouldn't it make much more sense to make $row be $columns since the
key
| >of the array points to a column/field and not a row of data?
| >
| >
| Better still
|
| $photo_category_list .= '<option value="' .
| $row['category_id'] . '">' .
| $row['category_name'] .
| '</option>\n";
|
optimally:
$photo_category_list .= '<option value="' .
$row['category_id'] .
'">' .
$row['category_name'] .
'</option>\n";
:)
Navigation:
[Reply to this message]
|