This is default featured post 1 title
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.
This is default featured post 2 title
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.
This is default featured post 3 title
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.
This is default featured post 4 title
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.
This is default featured post 5 title
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.
Saturday, December 24, 2011
Happy Holidays Google Logo: Interactive Doodle Plays Music, Dances To 'Jingle Bells' (VIDEO)
Thursday, December 8, 2011
Login or Signup with Jquery and PHP
<script type="text/javascript"
src="http://ajax.googleapis.com/
ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function()
{
$('#signup').click(function()
{
$('#password').val('');
$('#login_block').hide();
$('#signup_block').show();
});
$('#login').click(function()
{
$('#newpassword').val('');
$('#signup_block').hide();
$('#login_block').show();
});
});
</script>
<form method="post"
action="loginup.php">
<div>
<label>Email</label> <br/>
<input type="text"
name="email"/><br
/>
<input type="radio"
name="choose"
id="login"
checked="checked"/> I
have an account <br
/>
<input type="radio"
name="choose"
id="signup"/> I
am new!<br
/>
</div>
<div id="login_block">
<label>Password</label><br
/>
<input type="password"
name="password"
id="password"/><br/>
<input type="submit" value=" Login "/>
</div>
<div id="signup_block"
style="display:none">
<label>Choose
password</label><br/>
<input type="password"
name="newpassword"
id="newpassword"
/><br/>
<input type="submit"
value=" Signup "/>
</div>
</form>
<?php
if($_POST)
{
$email = $_POST['email'];
$password = $_POST['password'];
$newpassword = $_POST['newpassword'];
if($_POST['password'] && $_POST['email'])
{
$sql=mysql_query("SQl
select statement");
echo "Login
success";
}
else if($_POST['newpassword'] && $_POST['email'])
{
$sql=mysql_query("SQl
Insert values statement");
echo "Registration
Success";
}
}
?>