1
Playstation / Re: which is better
« on: September 02, 2009, 12:35:35 pm »
100% Cod4
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
<html>That's my php/html code to making a good use out of a button using else and if statements, what you are doing is basic, it's just a basic link :s, and from what i know of theres no form method called LINK.
<form action='bang.php' method='GET'>
<input type='submit' name='shoot1' value='Shoot!'>
</form>
</html>
<?php
// By Webber from smfsupport.com
$shoot = $_GET['shoot1'];
if (!$shoot)
{
echo "Click button to shoot";
}
else if ($shoot)
{
echo "Bang!";
}
?>