note 34346 added to ref.strings

From: Date: Thu, 24 Jul 2003 12:49:24 +0000
Subject: note 34346 added to ref.strings
Groups: php.notes 
Request: Send a blank email to php-notes+get-52565@lists.php.net to get a copy of this message
Heres a useful function to convert large text-arrays to actual strings to be put into mysql database function array_strconv($arraytoconv) { while (current($arraytoconv)) { $str .= printf('%c",current($arraytoconv)); next($arraytocon); } return $str; } works great for key-based encryption ---- Manual Page -- http://www.php.net/manual/en/ref.strings.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34346 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34346&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34346&report=yes

« previous php.notes (#52565) next »