I am a new learner and I need your help. I am trying to design a website and one of the things I want to do is find and replace text from the template based upon user input. These will be document templates and certain words from the template will be changed as per user input but formatting of the document will remain unchanged. Let me give an example:
Help me please..
Jump to Post
if you choose PHP then use variables, for example:
<p>Client Name: <?php echo "$firstname $lastname"; ?></p>
To assign the values to the variables
$lastnameyou can use the input submitted by a form:
<form method="post" action="document.php"> <label for="firstname">Firstname:</label> …
All 3 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.