Re: OT-Javascript Question

From: Date: Thu, 06 Nov 2003 17:29:56 +0000
Subject: Re: OT-Javascript Question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-168757@lists.php.net to get a copy of this message
Yes, I'm not going in and out of php, the entire html output is php... echo <<<EndHTML html code EndHTML; So I can't do this then? Thanks, Jake ----- Original Message ----- From: "Chris Shiflett" <shiflett@php.net> To: "Jake McHenry" <linux@nittanytravel.com>; <php-general@lists.php.net> Sent: Thursday, November 06, 2003 12:16 PM Subject: Re: [PHP] OT-Javascript Question > --- Jake McHenry <linux@nittanytravel.com> wrote: > > <input type="text" name="10_Accounting_Unit" size="1" > > maxlength="1" > > value="{$_SESSION['10_Accounting_Unit']}" > > onKeyUp="movefocus(10_Accounting_Unit,11_Accounting_Unit,1);"> > > This looks like you're trying to go in and out of PHP mode without using > <?...?>, <?php...?>, etc. > > Try something like this: > > <input type="text" name="accounting_unit" value="<? echo > $_SESSION['accounting_unit']; ?>" /> > > Hope that helps. > > Chris > > ===== > My Blog > http://shiflett.org/ > HTTP Developer's Handbook > http://httphandbook.org/ > RAMP Training Courses > http://www.nyphp.org/ramp >

« previous php.general (#168757) next »