note 92416 deleted from function.fputcsv by danbrown

From: Date: Thu, 23 Jul 2009 15:59:33 +0000
Subject: note 92416 deleted from function.fputcsv by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-158639@lists.php.net to get a copy of this message
Note Submitter: Anonymous ---- For alex /-\-l- windeagle DOT org: This: <?php fputcsv($fp, $foo, '\t'); //won't work ?> Doesn't work, because simple quotes take what's inside literally, and the backslash isn't taken as an escape, but as the backslash character. This should work: (although I didn't test it) <?php fputcsv($fp, $foo, "\t"); //should work ?>

« previous php.notes (#158639) next »