In message <[EMAIL PROTECTED]>, Wade <[EMAIL PROTECTED]> writes >Then, im assigning the appid to $num. >I dont understand the next part at all = ($result,0,0);
$num contains the number of records returned, which will be 1, as you only asked for 1 record. The first 0 is the number of the record, in this case the first one. The second 0 is the number of the field, in the case the first one. So you are returning the first field in the first record. However, you are only returning one record, so I wouldn't use mysql_result(), which is used to return fields from a number of rows. -- Pete Clark http://www.hotcosta.com http://www.spanishholidaybookings.com Community email addresses: Post message: [email protected] Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-list/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
