Re: Email Selected Data
| From: | Christian Reiniger | Date: | Sun, 04 Feb 2001 21:37:04 +0000 |
| Subject: | Re: Email Selected Data | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-38147@lists.php.net to get a copy of this message | ||
On Sunday 04 February 2001 21:31, Website4S@aol.com wrote:
> for ($i=0; $i<$num_rows; $i++)
> {
> mysql_data_seek($SQLResult, $i);
> $array=mysql_fetch_array($SQLResult);
> $content=printf("First Name: %s\nLast Name: %s\n",$array['FirstName'],
Re-read the documentation for "printf". You want to use sprintf() here.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
The most exciting phrase to hear in science, the one that heralds new
discoveries, is not "Eureka", but "That's funny..."
- Isaac Asimov