Any direction / help to this beginner would be so grateful.
I would like to create a interface that contains a title field.
The data entered into the interface title fields would be inserted into a html h1 title div.
Very simple, Im new to this, I read about using php to echo this, don’t have a full grip on this.
Here is an example of the html title code
<div class="col-md-12 titlebar">
<h1 align="center">Place Title here</h1>
</div>
This interface would allow the user to replace the html enter image description here"Place Title here" with, any words they choose, "Car Show", "Hair Cut",.........
See attachment for simple illustration of interface.
Again, any direction, input, suggestion, examples….. would be so grateful, I can learn this quick with direction.
Thank you anyone and all.
Make sure the file you are modifying has the .php extension. Begin the body of the file with <?php Then you can simply echo the content inline...
<?php ?>
<div class="col-md-12 titlebar">
<h1 align="center"><?php echo $_REQUEST['title']; ?></h1>
</div>
A simple php file where you can start to learn (with 2 files):
out.php:
<div class="col-md-12 titlebar">
<h1 align="center"><?php echo $_GET['input']; ?></h1>
</div>
form.html
<form method="GET" action="out.php">
Title <input name="input" type="text"><br>
<input type="submit" value"Confirm">
</form>