Re: Variables

From: Date: Fri, 16 Jan 2004 01:22:00 +0000
Subject: Re: Variables
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-174749@lists.php.net to get a copy of this message
On Thu, 2004-01-15 at 16:47, Alex Hogan wrote: > How do you insert a php variable into a javascript function? > For instance; > function redirect(<?php $MyVar ?>) { location = <?php $MyVar ?>; } <?php echo 'function redirect(' . $MyVar . ') {'; echo 'location =' . $MyVar . ';}'; ?> -- Brian GnuPG -> KeyID: 0x04A4F0DC | URL: www.gfx-design.com/keys Key Server: pgp.mit.edu ====================================================================== gpg --keyserver pgp.mit.edu --recv-keys 04A4F0DC GnuPG: http://gnupg.org http://www.biglumber.com/x/web?qs=0x2C35011004A4F0DC Linux Registered User #339825 at http://counter.li.org

Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
« previous php.general (#174749) next »