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" <[EMAIL PROTECTED]>
To: "Jake McHenry" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, November 06, 2003 12:16 PM
Subject: Re: [PHP] OT-Javascript Question


> --- Jake McHenry <[EMAIL PROTECTED]> 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

Reply via email to