Re: OT-Javascript Question

From: Date: Thu, 06 Nov 2003 18:22:36 +0000
Subject: Re: OT-Javascript Question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-168758@lists.php.net to get a copy of this message
Will I have to change my entire page format? As I said, right now it's all being echo'd 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 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#168758) next »