This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Form Example</title> | |
| </head> | |
| <body> | |
| <form action="" method="post"> | |
| <div><label for="firstname">First name: | |
| <input type="text" name="firstname" id="firstname"></label> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Counting to Ten</title> | |
| </head> | |
| <body> | |
| <p> | |
| <?php | |
| for ($count = 1; $count <= 10; ++$count) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Counting to Ten</title> | |
| </head> | |
| <body> | |
| <p> | |
| <?php | |
| $count = 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Form Example</title> | |
| </head> | |
| <body> | |
| <form action="name.php" method="post"> | |
| <div><label for="firstname">First name: | |
| <input type="text" name="firstname" id="firstname"></label> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Form Example</title> | |
| </head> | |
| <body> | |
| <form action="name.php" method="post"> | |
| <div><label for="firstname">First name: | |
| <input type="text" name="firstname" id="firstname"></label> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Query String Link Example</title> | |
| </head> | |
| <body> | |
| <p><a href="name.php?name=Kevin">Hi, I’m Kevin!</a></p> | |
| </body> | |
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Today’s Date</title> | |
| </head> | |
| <body> | |
| <p>Today’s date (according to this web server) is | |
| <?php |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| INSERT INTO joke | |
| (joketext, jokedate) VALUES ( | |
| '"Королеве - подвески, Констанции - подвязки, Портосу - подтяжки ...", - поторял, чтобы не перепутать, д\'Артаньян по дороге в Англию.',"2012-04-01" | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| INSERT INTO joke | |
| (joketext, jokedate) VALUES ( | |
| "Зачем цыплёнок перешёл дорогу? Чтобы попасть на другую сторону!","2012-04-01" | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| INSERT INTO joke SET | |
| joketext = "Зачем цыплёнок перешёл дорогу? Чтобы попасть на другую сторону!", | |
| jokedate = "2012-04-01" |