Please refer to 4 code lines below:
a. Code line # 1 works fine - “123 Main St” displays.
b. Code line # 2 works fine - a single word displays (I know ALL the data is getting to page
c. Code line # 3 displays only “123”
d. Code line # 4 displays only “New” for “New York” , New York is getting queried – just not displaying (htmlentities() is not helping)
The reason I am using text input fields is so that a user can view and modify data from a single screen
- echo "<td><Font color= blue>street:" . $row["street"] ."<br></td>";
- echo "<td><Font color= blue>APARTMENT:</Font><input size=25 name=\"apartment\" value =".$row['apartment']."></td>\n";
- echo "<td><Font color= blue>STREET: </Font><input size=35 type=\"text area\" name=\"street\" value=".$row["street"]."></td>\n";
- echo "<td><Font color= blue>CITY:</Font><input size=55 type = \"text\" name= \"city\" value=".htmlentities($row['city'])."></td>\n";
Thank You to whoever can help (I can send more code if necessary)