Login or Sign up Help | Site Map
Connecting Tech Pros Worldwide

Setting value of input from SQL database to edit

Question posted by: =?Utf-8?B?RXBvaCBSaW8=?= (Guest) on August 7th, 2008 07:35 PM
Hi, I am trying to create a way to edit data in a database.

Response.Write ("<input name=""issue"" value=" & recSet.Fields("Name") & """
Quote:
Originally Posted by
></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,
Would you like to answer this question?
Sign up for a free account, or Login (if you're already a member).
=?Utf-8?B?RXBvaCBSaW8=?='s Avatar
=?Utf-8?B?RXBvaCBSaW8=?=
Guest
n/a Posts
August 7th, 2008
07:45 PM
#2

Re: Setting value of input from SQL database to edit
Never mind I found it. It was putting in there I just had bad html

"Epoh Rio" wrote:
Quote:
Originally Posted by
Hi, I am trying to create a way to edit data in a database.
>
Response.Write ("<input name=""issue"" value=" & recSet.Fields("Name") & """
Quote:
Originally Posted by
</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,


 
Not the answer you were looking for? Post your question . . .
182,494 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

  • Didn't find the answer you were looking for?
    Post Your Question
  • Top Community Contributors