Re: show data on the text input box

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for the information and help,

I use the following code to show data, but it shows '/', but not data.

<td><input name="mytext" type="text" value=<?php echo ($row['invdate']); ?> /></td>

Are there any way to access from mySQL result data?
Thanks again for helping,

Regards,


Iccsi,



"Robert Cummings"  wrote in message news:536C7208.6050201@xxxxxxxxxxxxx...

On 14-05-09 12:37 AM, iccsi wrote:
I have following code to connect MySQL and database.
I see 'connected to database',

I would like to know that which code do I need to show my data on the text
box?
Your help and information is great appreciated,


Do you mean like the following?

<input name="mytext" type="text" value="<?php echo htmlspecialchars(
$value ); ?>" />

Cheers,
Rob.

--
E-Mail Disclaimer: Information contained in this message and any
attached documents is considered confidential and legally protected.
This message is intended solely for the addressee(s). Disclosure,
copying, and distribution are prohibited unless authorized.

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





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux