AW: [PHP] JS and PHP
| From: | Sebastian Stadtlich | Date: | Wed, 27 Sep 2000 15:48:12 +0000 |
| Subject: | AW: [PHP] JS and PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-17737@lists.php.net to get a copy of this message | ||
> is there vay to pass variables from php to javascript function?
<?
$thevar='Hello World';
?>
html
html
html
html
<script language=javascript>
alert('<? echo $thevar ?>');
</script>
html
html
html
html
does that solve the problem?
sebastian