note 8935 added to explode

From: Date: Sat, 07 Oct 2000 03:55:11 +0000
Subject: note 8935 added to explode
Groups: php.notes 
Request: Send a blank email to php-notes+get-6183@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! http://www.php.net/manual/function.explode.php

« previous php.notes (#6183) next »