I want to display a set of buttons when a button is pressed on the page. whats wrong in this code. it's giving errors
<?php
if(isset($_POST['submit']))
{
<form method="post" action="">
<input type="submit" name="submit1" value="Style1">
</form>
<form method="post" action="">
<input type="submit" name="submit2" value="Style2">
</form>
<form method="post" action="">
<input type="submit" name="submit3" value="Style3">
</form>
<form method="post" action="">
<input type="submit" name="submit4" value="Style4">
</form>
<form method="post" action="">
<input type="submit" name="submit5" value="Style5">
</form>
<form method="post" action="">
<input type="submit" name="submit6" value="Style6">
</form>
}
?>
<form method="post" action="">
<input type="submit" name="submit" value="Style">
</form>