Read:
http://www.php.net/manual/en/function.printf.php
(On of the user contrib notes has an example)
Or pick up a copy of "The C Programming Language" by Kernighan and
Ritchie for a more complete description.
-Brad
William Martell wrote:
> Hello All.
>
> Can anyone tell me what this '%d' refers
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",
<-HERE '%d'
mysql_num_rows ($result));
while ($query_data = mysql_fetch_array ($result))
2 matches
Mail list logo