
Originally Posted by
mc12345678
What that means is that is the value returned from your query isn't being handled the way expected.
Can't seem to be able to tell which variable was posted, whether $format or $format_info, but whichever it is was basically set like:
$var = $db->Execute("SELECT * FROM " . TABLE_MEDIA_FORMAT_INFO . " WHERE format_id = '" . $some_selected_value . "' AND languages_id = '" . (int)$_SESSION['languages_id'] . "'");
In order to get the specific value of one of the five fields of the table: ([format_id] => 4 [format_name] => 7" vinyl [format_image] => [date_added] => [last_modified] => ), need to reference the field more directly:
$format_name = $var->fields['format_name'];
Bookmarks