Maybe this is a stupid question but I couldn't find suitable sample code or an answer in the manual.
mysql_fetch_row() returns a MYSQL_ROW representation of a row of data. According to the manual, this is "an array of counted byte strings". mysql_fetch_field() returns a MYSQL_FIELD with members 'type' and 'length', where 'length' is "the width of the field, as specified in the table definition". Question: Can I reliably interpret 'length' as the length in bytes of the corresponding "byte string" in the MYSQL_ROW, and is there a usual way to extract these data into regular C datatypes? Thanks, Travis --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php