Hi Guys,
I hope this is the right place to raise this as it partly involves SQL.
I have stored in a text field in a SQL database several sentances that I want to personalise with a person first name.
Example of db record
What do you want varfirstname to stop?
I want it to display substituting varfirstname with an actual name that i have available as a variable on the page.
My questions are simply this.
Can i use
Response.Write ("<td>sometext" &eval(fieldname)&" some more text")
If so how do I store ( in SQL) the record with quotes etc to allow phrase to be evaluated and pick up and insert variable varfirstname.
When i read the above it seems as clear as mud - I hope you get the jist...
Thanks in advance
TabbyTab
I hope this is the right place to raise this as it partly involves SQL.
I have stored in a text field in a SQL database several sentances that I want to personalise with a person first name.
Example of db record
What do you want varfirstname to stop?
I want it to display substituting varfirstname with an actual name that i have available as a variable on the page.
My questions are simply this.
Can i use
Response.Write ("<td>sometext" &eval(fieldname)&" some more text")
If so how do I store ( in SQL) the record with quotes etc to allow phrase to be evaluated and pick up and insert variable varfirstname.
When i read the above it seems as clear as mud - I hope you get the jist...
Thanks in advance
TabbyTab