<?php $myiString = "Hi!"; echo $myiString; echo "<h5>I love PHP!</h5>"; ?>
Display:
Hi!
I love PHP!
A simple form example
1 <html>
2 <head>
3 <title>Building a Form</title>
4 </head>
5 <body>
6 <form action="<?php echo($_SERVER['PHP_SELF']); ?>"
7 method="get">
8 <label>
9 Search: <input type="text" name="search" />
10 </label>
11 <input type="submit" value="Go!" />
12 </form>
13 </body>
14 </html>