I have a HTML form that has a session variable called $cost. Now I want to
set the value to this table data input field. Anyone know how this is

<td><input value=$cost name="txtSubTotalAmount" size="40" readonly></td>


You question is not too clear, but I will try to help. You want the form
element to reflect the value of $cost?

<td><input value=<?php print($cost); ?> name="txtSubTotalAmount" size="40"

I apologize if this is not what you are asking.


Errors have been made. Others will be blamed.

* Texas PHP Developers Conf  Spring 2003            *
* T Bar M Resort & Conference Center                *
* New Braunfels, Texas                              *
* Contact [EMAIL PROTECTED]       *
*                                                   *
* Want to present a paper or workshop? Contact now! *

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to