Solved

value in <input text field READONLY > cannot accept external variable

Posted on 2001-06-14
1
262 Views
Last Modified: 2010-04-09
Hi!

Score for Test A : <input type=text name=test1 value=$test1 size=3 READONLY><p>

I am trying to pass on a (PHP) variable to be re-display on a form but by setting the value=$var, it still does not take on the value. Could it be an incorrect syntax?


Regards
Chee Seng
0
Comment
Question by:tohcs
1 Comment
 
LVL 40

Accepted Solution

by:
Richard Quadling earned 50 total points
ID: 6191425
Ideally, the line SHOULD read something like ...

Score for Test A : <input type="text" name="test1" value="<?php echo $test1 ?>" size="3" READONLY><p>


0

Featured Post

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question