Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Display data on form that contains a space

Explorer ,
Jul 30, 2009 Jul 30, 2009

I am connecting to SQL server and display a persons name on a welcome page such as:

"Welcome John Smith"  using a <%response.write(session("contactname"))%> and where "John Smith" is contained in a single field in my database.

I then ask the user to complete a brief survey and capture those results in a form, when I try to capture "contactname" it only displays the first name, i.e. "John".  How do I capture the entire "contactname" on my form?

Any help would be appreciated!

TOPICS
Server side applications
437
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 30, 2009 Jul 30, 2009
LATEST

There is not reason it shouldn't be working given the info you have provided. We would need to see the complete code to tell why it is failing. FWIW, I would think you would want to use the userid or other key field to associate the survey to the user table. There could be many people with the same contact name, right?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines