RE: [PHP] XHTML and dynamic javascripts

2005-03-13 Thread Mikey
 Now down to the PHP specific question.  Is there a way to 
 generate an externally linked javascript file?  The 
 javascript functions in question are created from data 
 sitting in a MySQL data, so I can't hard code the javascript.

Yes, just change the .js extension to .php

HTH,

Mikey

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



RE: [PHP] XHTML and dynamic javascripts

2005-03-13 Thread Robbert van Andel
Thanks, that worked.  

-Original Message-
From: Mikey [mailto:[EMAIL PROTECTED] 
Sent: Sunday, March 13, 2005 12:18 PM
To: php-general@lists.php.net
Subject: RE: [PHP] XHTML and dynamic javascripts

 Now down to the PHP specific question.  Is there a way to 
 generate an externally linked javascript file?  The 
 javascript functions in question are created from data 
 sitting in a MySQL data, so I can't hard code the javascript.

Yes, just change the .js extension to .php

HTH,

Mikey

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

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