Of course, why not, or you can use smarty template engine. http://smarty.php.net/ Thanks, Richard Sitompul -----Original Message----- From: ÃÃÂÃÃÃ [mailto:wangchq@xxxxxxxxxxxxxxxxx] Sent: Tuesday, May 17, 2005 12:26 To: php-general@xxxxxxxxxxxxx Subject: JavaScript+Html+PH Hiï Can I use JavaScript+Html+PHP in a file? <? Function sort_asc() { $sql=ââ .âorder by customer_id ASCâ; } ?> <script: javascript> Function sort(){ Sort_asc(); } </javascript> <Html> <input type=âbuttonâ value=âorder â onclick=â sort()â> <Html> E-mail/MSN: wangchq@xxxxxxxxxxxxxxxxx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php