jon24422531
Technical User
Hi everyone
I am returning some data from a SQL table (of our Users) to a web form and it is all going well except for when I return any spaces:
This is the data:
This is where the data is going:
But it just puts the first name ( Joe ) and then ceases at the space.
If I just put this code at the bottom I get the correct name with spaces etc
Name : Joe The Plumber
I assume this is something to do with the input box, but I am not sure what.
Any help greatly appreciated
Jonathan
I am returning some data from a SQL table (of our Users) to a web form and it is all going well except for when I return any spaces:
This is the data:
Code:
rsData.Open strSQL, MyConn
Returns = rsData.GetRows(1,0)
Code:
<tr>
<td style="width: 101px;">Name</td>
<td style="width: 263px;"><input type="text" name="UserName" value=<%Response.Write(Returns(1,0))%>></td>
If I just put this code at the bottom I get the correct name with spaces etc
Code:
Name : <%Response.Write(Returns(1,0))%>
I assume this is something to do with the input box, but I am not sure what.
Any help greatly appreciated
Jonathan