469,286 Members | 2,407 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,286 developers. It's quick & easy.

Setting value of input from SQL database to edit

Hi, I am trying to create a way to edit data in a database.

Response.Write ("<input name=""issue"" value=" & recSet.Fields("Name") & """
></td></tr>")
If the name contains a space (i.e. first and last name)

It only displays the first name (because of the space)

I have tried several things to get this to work

Works: Response.Write (recSet.Fields("Name"))

But I can't (even if I store the data as a variable) get it to display the
full name.

Any ideas????

Thanks,
Aug 7 '08 #1
1 1407
Never mind I found it. It was putting in there I just had bad html

"Epoh Rio" wrote:
Hi, I am trying to create a way to edit data in a database.

Response.Write ("<input name=""issue"" value=" & recSet.Fields("Name") & """
</td></tr>")

If the name contains a space (i.e. first and last name)

It only displays the first name (because of the space)

I have tried several things to get this to work

Works: Response.Write (recSet.Fields("Name"))

But I can't (even if I store the data as a variable) get it to display the
full name.

Any ideas????

Thanks,
Aug 7 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by rudranee | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.