Header AD

Date_Profile_on_PHp_Example

PHP is a called Personal Home Page server-side scripting language originally designed for web development to produce dynamic web pages.
I wanna just piece of code on date profile on PHp.Which basic idea about php.This is very simple and very handy.

EXAMPLE OF CODE



<?php

if(isset($_POST['submit'])){

$name = $_POST['name'];

$year = $_POST['year'];

$sex = $_POST['sex'];

$curr_year=2011;

$age=$curr_year-$year;
echo $name . "<br />". $year . "<br />". $sex;
/*if($name=='binod'){

echo"<h1>welcome sir</h1> ";

}

else{

echo"<h2>you are not binod </h2>";

}



if($year=='2000'){

echo"thankyou";
}

else{

echo"You are not envited";

}*/

if($sex=='male'){

echo"Hello Sir";

}

else{

echo"Hello Mam";

}



}

?>

<form method="post"="dataprofile.php">

NAME*:<input type="text" name="name"> <br />

DATE OF YEAR*:<input type="year" name="year" maxlength='4'/><br />

<input type="radio" name="sex" value="male" />Male <input type="radio" name="sex" value="female" />Female <br />

<input type="submit" name="submit"value="Submit" />

</form>



Another-popularity-your-link-by-message-boards-and-discussion-lists
Free-create-back-link

Meta-tag-generator-for-seo 

Tips-4blog-posting
How-to-optimization-your-website-best-secret-of-seo

Online-promotion-for-blogger
Seo-tips_for Blogger

Seo_on_link_building 



Date_Profile_on_PHp_Example Date_Profile_on_PHp_Example Reviewed by Unknown on 2:47 PM Rating: 5

No comments

Post AD