reading a file into variable for using in a javascript
| From: | Charles Kline | Date: | Mon, 09 Jun 2003 04:23:50 +0000 |
| Subject: | reading a file into variable for using in a javascript | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-150699@lists.php.net to get a copy of this message | ||
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