note 53643 deleted from tutorial.useful by betz
| From: | betz@php.net | Date: | Wed, 08 Jun 2005 08:46:14 +0000 |
| Subject: | note 53643 deleted from tutorial.useful by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-90103@lists.php.net to get a copy of this message | ||
Note Submitter: yeni-setiawan@ hotpop dot com
Reason: useless
----
I found that PHP can't be included within a javascript.
Say:
<script language=javascript>
alert("Hi, my name is <?echo $name?>");
</script>
Won't work when I tried. So I have to use PHP to generate the javascript.