I'm not sure i completely understand what you need but you could write dynamic Javascript using PHP e.g;
$myString = 'hey dude, help me'; <script language = .......> <?php if( strstr('help me') ) include('jsfunction.inc'); ?> </script> The code i wrote is really dumb, but trying to give you an example. hope this helps, Ammar "Peter Andersson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi! > > I am using a web page that uses the following php code to display the > contents of a dynamically update webpage: > > <?php > include("http://.../source.xls); > ?> > > Is it possible to "forward" the contents of the code to a javascript? > eg if the file "source.xls" contains the text "help me" is it possible to > send that text to a javascript? I am quite stuck here so any help would be > greatly appreciated. > > regards > > Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php