|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I am in the works of creating a site that relies heavlily on PHP and MySql. My question is, when I user the following code
<TD>Properties</TD> <TD><Input Type=text Name=properties value=$properties</TD> </TR> within a page for administration purposes, the text gets truncated within the HTML. ie.. properties should equal something like "Florida State University" but it gets truncated (within the input tag) to "Florida". It's not a size problem or Database problem, because the correct value is extracted elsewhere, just an HTML Input box problem. Can anybody tell me how to correct it, without using a TEXT AREA tag? Thanks, Todd |
|
#2
|
||||
|
||||
|
<TD>Properties</TD> <TD><Input Type=text Name=properties value=$properties</TD> </TR> You are missing ">" sign here (ie,you are not closing the input box. <Input Type=text Name=properties value=$properties> In php it should be: <TD>Properties</TD> <TD><Input Type=text Name=properties value="<? echo $properties?>"></TD> </TR> ------------------ SR - shiju.dreamcenter.net "The fear of the LORD is the beginning of knowledge..." |
|
#3
|
|||
|
|||
|
thanks,
That did the trick. Todd |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > Basic HTML Input Text Question |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|