Jump to content
php.lv forumi

isset kluda?


tiy

Recommended Posts

<?php

function what()
{
if ( isset($_POST['poga']) )
  {
		echo "aaaa";
  }

echo"<form action='' method='post'>
	 <br>
	 <input type='submit' name='poga' value='Run'>
	 </form>"; 

return 0;
}

?>

				<form action='' method='post' >
			   <input  type='submit' name='polls' value='Poll' ><br>				   
			   </form>				 

					<?php	 
				 		 if  (isset($_POST['polls']))
				   		   {							 
					 		what();
				   		   }   
			 		?>

 

Es nesaprotu kapec nospiezot pogu php nenostrada it ka palec garam. Kapec?

Edited by tiy
Link to comment
Share on other sites

×
×
  • Create New...