Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple Fields on a webpage to one field in Database

Status
Not open for further replies.

ashishsmith

Programmer
Jun 23, 2004
46
US
I don't is it possible or not. Can I get values in different fields and combine it and store in a database in one field?

For example, First Name :- Ashish
Last Name :- P
Middle Initial :- Smith

This would be asked on the web page and get stored as

Full Name :- Ashish P Smith

in the Database.
How can I do this? I know it has to be possible but am not so sure how to do it.


Ashish Smith
 
insert into table (name) values ('#form.firstName# #form.middle# #form.lastName#')

A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
-Douglas Adams (1952-2001)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top