note 8935 deleted from function.explode by jimw
| From: | jimw@php.net | Date: | Fri, 07 Dec 2001 21:11:40 +0000 |
| Subject: | note 8935 deleted from function.explode by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-21994@lists.php.net to get a copy of this message | ||
For Tab seperated values you must use the double-quotes to evaluate the \t to a tab character, if
you use single quotes, means a literal '\t'
ie. use
$cols=explode("\t",$line); // Tab seperated
NOT
$cols=explode('\t',$line); // slash t seperated
Obvious once you know it!