http://php.flashwebhost.com/annie/day_7_ex_2.php
Code:<?php echo '<h1>Hello ' . $_GET['Mariya'] . '!. Welcome to Fashion World. Design, Play, Win! </h1>';
http://php.flashwebhost.com/annie/day_7_ex_2.php
Code:<?php echo '<h1>Hello ' . $_GET['Mariya'] . '!. Welcome to Fashion World. Design, Play, Win! </h1>';
Become PHP Expert in 30 days
FreeMarriage.com - Free Online Matrimonial
FlashWebHost.com - Professional Web Hosting, Designing.
http://php.flashwebhost.com/sherly/eyedonation.php
Code:<?php if (isset($_GET['email'])) { echo 'eye donation request has been received' ; } else { echo ' <h1>Eye Donation</h1> <p>if you wish to donate your eyes, enter your name.</p> <form action="eyedonation.php" method="GET"> Enter Email Address : <input name="email" type="text"> <button type="submit"> Subscribe </button> </form> ';}
http://php.flashwebhost.com/annie/health_tips.php
Code:<?php if (isset($_GET['email'] )) { echo 'Subscribe to our free email updates!'; } else { echo ' <h1> Helpful Tips.</h1> <p>Please enter your email address below and get Daily Health Tips </p> <form method="GET" action="health_tips.php"> Enter Your Email Address: <input name= "email" type="text"> <button type="submit"> Subscribe</botton> </form> '; }
http://php.flashwebhost.com/sherly/poor_charity.php
Code:<?php if (isset($_GET['email'] )) { echo 'poor charity request has been received' ; } else { echo ' <h1> Poor Charity.</h1> <p>Please enter your email address below and to help poor charity </p> <form method="GET" action="poor_charity.php"> Enter Your Email Address: <input name= "email" type="text"> <button type="submit"> Subscribe</botton> </form> '; }
http://php.flashwebhost.com/sherly/result.php
Code:<?php $rollNo1 ='Student Name'; $mark ='Student Mark'; if (isset($_GET['rollNo1'] )) { echo ' Name : ' . $rollNo1 . '<br>'; echo ' Mark : ' . $mark . '<br>'; echo '<hr> '; echo ' result here - passed/failed'; } else { echo ' <h1>Medical Entrance Exam Result</h1> <p>Please enter roll No.</p> <form action="result.php" method="GET"> Roll No : <input name="rollNo1" type="text"> <button type="submit">submit </button> </form> ';}
http://php.flashwebhost.com/stefin/facebook_signin.php
Code:<?php if (isset($_GET['signin'])) { echo 'THANK YOU FOR JOINING FACEBOOK'; } else { echo ' <html> <body> <h1>Welcome To Facebook</h1> <h2>Its Free And Always Will Be</h2> <form action="welcome.php" method="GET"> Enter First Name : <input name="first name" type="text"> </form> ';} { echo ' <form action="welcome.php" method="GET"> Enter Last Name : <input name="last name" type="text"> </form> ';} { echo ' <form action="welcome.php" method="GET"> Enter Your Email : <input name="email" type="text"> </form> ';} { echo ' <form action="welcome.php" method="GET"> Re-Enter Your Email : <input name="re-enter email" type="text"> </form> ';} { echo ' <form action="welcome.php" method="GET"> Enter Your Password : <input name="password" type="text"> </form> ';} { echo ' <form action="welcome.php" method="GET"> Enter Your Birthday : <input name="birthday" type="text"> <h2><button type="SIGN UP"> SIGN UP </button></h2> </form> </body> </html> ';}
Last edited by stefin; 05-16-2014 at 03:06 PM.
http://php.flashwebhost.com/sibichan/Day-7/result.php
PHP Code:
<?php
$rollNo1 ='Student Name';
$mark ='Student Mark';
if (isset($_GET['rollNo1'] )) {
echo ' Name : ' . $rollNo1 . '<br>';
echo ' Mark : ' . $mark . '<br>';
echo '<hr> ';
echo ' result here - passed/failed';
}
else {
echo '
<h1>SSLC Exam Result</h1>
<p>Please enter roll No.</p>
<form action="result.php" method="GET">
Roll No : <input name="rollNo1" type="text">
<button type="submit">submit </button>
</form>
';}
Bookmarks