Re: Variables

From: Date: Thu, 15 Jan 2004 22:42:22 +0000
Subject: Re: Variables
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-174726@lists.php.net to get a copy of this message
Hello Alex, Thursday, January 15, 2004, 9:47:27 PM, you wrote: AH> How do you insert a php variable into a javascript function? AH> function redirect(<?php $MyVar ?>) { location = <?php $MyVar ?>; } function redirect (<?=$MyVar?>) { location = <?=$MyVar?>; } -- Best regards, Richard mailto:rich@launchcode.co.uk

« previous php.general (#174726) next »