you could try using file() or readfile(). while file reads the content of the file in to an array, readfile reads a file and writes it to the output buffer.

-
Madhu

Charles Kline wrote:
Hi all,

I am reading the content of a text file into a variable to be used in a javascript. I am reworking some code that was originally done using ColdFusion and the jsStringFormat(var) function. What is the PHP equivalent string function? Is there one? I have searched the docs, but can't figure out which to use.

Thanks
Charles



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to