Created
November 15, 2020 15:43
-
-
Save alfintechcomputer/9d2e3c8fc43deb55ac196330dce02065 to your computer and use it in GitHub Desktop.
HTML Forms using PHP
This file contains 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
<html> | |
<head> | |
<link href="css/bootstrap.min.css" rel="stylesheet"> | |
<script src="js/respond.js"></script> | |
<script src="http://code.jquery.com/jquery-latest.min.js"></script> | |
<script src="js/bootstrap.min.js"></script> | |
</head> | |
<body> | |
<?php | |
$website = isset($_POST['website']) ? ($_POST['website']) : 'http://twitter.com' ; | |
$category = isset($_POST['category']) ? ($_POST['category']) : 'Social' ; | |
echo "Hi bud, thanks for submitting <b>$website</b> to the <b>$category</b> category."; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment