----- Original Message -----
From: "William Martell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>;
Sent: Friday, December 13, 2002 2:13 PM
Subject: printf %d
> Hello All.
>
> Can anyone tell me what this '%d' refers to?
>
> A pointer would be great. Thanks
>
> [snip]
> if (!$result)
> die ("Query Failed\n");
> else
> printf ("Number of rows returned: %d\n<br><br>",
> <-------------------------HERE '%d'
> mysql_num_rows ($result));
> while ($query_data = mysql_fetch_array ($result))
> {
>
> echo "Part#: ".$query_data[holman_part]."<br>";
> echo "Description: ".$query_data[part_desc]."<br><br><br>";
> }
> [/snip]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php