Re: Display variable with spaces -SOLVED
| From: | Pushpinder Singh Garcha | Date: | Wed, 13 Aug 2003 17:47:06 +0000 |
| Subject: | Re: Display variable with spaces -SOLVED | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-159460@lists.php.net to get a copy of this message | ||
Thank you so much ! it works fine now ;)
--Pushpinder
On Wednesday, August 13, 2003, at 12:01 PM, Larry E. Ullman wrote:
And I try to display it in the table using this : <input name="email_1" type="text" id="email_1" size="50" value = <? echo "$email_1"; ?>> if I try to echo the variable $email_1, I get the correct value i.e. "thisisa long e-mail address" /// However when it comes to displaying it using the table all I get is the "thisisa" . It simply avoids the spaces. Can anyone tell me why this is happening..?? I am sure it is something pretty minor .... but I just cant seem to get it right.You need to quote your value attribute. Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php