i have a site where the user can copy and paste a letter they typed on their pc into an HTML editor in the site and when inserted goes into the database.
what i need to be able to do is have a button when inserting or a specific code tag that when they are keying on the letter they can be specific to where the want the clients name or address to appear.
at the moment i can create a default of the clients address by echo on the page where the address should be and the "dear client name ,..."part
however i need to a bit like in an access/word mail merge you can put in <Name> anywhere in the doc or <address> and when generated it displays the name and address anywhere they have specified.
i need this to be for an end user inputting so a button that auto adds this in when keying the letter would be a great idea or something simple like <name> but i have no idea how to get this one created?
any help appreciated.