how to use php code in javascript tag
Posted: Mon Sep 27, 2004 4:44 am
can i use php code in javascript tag
like
<script>
<?php
?>
</script>
wat cud be the best way to do tat as i want display data fetched from database by php n displayed by javascript code..javascript code is too much so that i cant write the whole code in echo.
like
<script>
<?php
?>
</script>
wat cud be the best way to do tat as i want display data fetched from database by php n displayed by javascript code..javascript code is too much so that i cant write the whole code in echo.