fscanf
| From: | Kris | Date: | Tue, 21 Jan 2003 23:22:27 +0000 |
| Subject: | fscanf | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-132514@lists.php.net to get a copy of this message | ||
Hi
I'm having dramers with fscanf
I have a line:
text, text, text
I can't work out how to scan removing the comma and whitespace.
the text can be absolutle anything.
at the moment I have
$array = fscanf ($fp, %s%[^,] %s%[^,] %s%[^,]);
Thanks
Kris