Re: OT-Javascript Question
| From: | Chris Shiflett | Date: | Thu, 06 Nov 2003 17:16:47 +0000 |
| Subject: | Re: OT-Javascript Question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-168753@lists.php.net to get a copy of this message | ||
--- 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