RE: [PHP] Help with PHP and HTML

2002-09-26 Thread Jay Blanchard

[snip]
When we are at it let's don't forget htmlspecialchars



skitum wrote:

>hey folks, don't forget quotes  ;o)
>
>readonly>
[/snip]

Well now we have gone too far! :^] In the original post the variable was
$cost. But let's not forget addslashes() or stripslashes(), unless, of
course, magicquotes is on, and then if register_globals is off then;



or



:^]

Jay

*
* 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




Re: [PHP] Help with PHP and HTML

2002-09-26 Thread Marek Kilimajer

When we are at it let's don't forget htmlspecialchars




skitum wrote:

>hey folks, don't forget quotes  ;o)
>
>readonly>
>
>I use one like this:
>readonly>
>and it works ok.
>
>Peace & Love
>skitum
>
>- Original Message -
>From: "Jay Blanchard" <[EMAIL PROTECTED]>
>To: "'Ken'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
>Sent: Thursday, September 26, 2002 1:46 PM
>Subject: RE: [PHP] Help with PHP and HTML
>
>
>  
>
>>[snip]
>>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
>>accomplished?
>>
>>
>>[/snip]
>>
>>
>>Ken,
>>
>>You question is not too clear, but I will try to help. You want the form
>>element to reflect the value of $cost?
>>
>> name="txtSubTotalAmount" size="40"
>>readonly>
>>
>>I apologize if this is not what you are asking.
>>
>>Jay
>>
>>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
>>
>>
>>
>
>  
>


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




Re: [PHP] Help with PHP and HTML

2002-09-26 Thread skitum

hey folks, don't forget quotes  ;o)



I use one like this:

and it works ok.

Peace & Love
skitum

- Original Message -
From: "Jay Blanchard" <[EMAIL PROTECTED]>
To: "'Ken'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, September 26, 2002 1:46 PM
Subject: RE: [PHP] Help with PHP and HTML


> [snip]
> 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
> accomplished?
>
> 
> [/snip]
>
>
> Ken,
>
> You question is not too clear, but I will try to help. You want the form
> element to reflect the value of $cost?
>
>  name="txtSubTotalAmount" size="40"
> readonly>
>
> I apologize if this is not what you are asking.
>
> Jay
>
> 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
>

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




RE: [PHP] Help with PHP and HTML

2002-09-26 Thread Jay Blanchard

[snip]
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
accomplished?


[/snip]


Ken,

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

 name="txtSubTotalAmount" size="40"
readonly>

I apologize if this is not what you are asking.

Jay

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