Just trying to convert an array to string before writing the whole thing
back out to a file. (Trying to do a simple database-less database, using
text files).
$fcontents = file($name.".db"); // THE ENTIRE TABLE
$fcontents[$update] = $updatedstring; // THE ROW TO BE UPDATED
$fp = fopen($name.".db", "w+");
But before the next line, I need to convert $fcontents to a string, else
just "Array" gets written to the text file. I just can't seem to find the
sure-to-be simple command to do this on php.net or phpbuilder.com, etc. Any
ideas?
fwrite($fp,$fcontents);
fclose($fp);
Thanks.
...Rene
---
Rene Fournier
[EMAIL PROTECTED]
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]