note 34346 rejected from ref.strings by alindeman
| From: | alindeman@php.net | Date: | Thu, 24 Jul 2003 12:56:58 +0000 |
| Subject: | note 34346 rejected from ref.strings by alindeman | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-52566@lists.php.net to get a copy of this message | ||
Note Submitter: webmaster@connectionheartland.com
----
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