Solved

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

Posted on 2001-06-14
1
271 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

828 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