Hello!
also ich hab ein formular, dass alle eingaben an eine funktion in ein externes File schicken soll, was muss ich genau bei der Formularaction (action="func.php") eintragen ?
---> input.php
	
---> func.php
	
das ist natürlich eine krasse vereinfachung der files! im normalfall gäbe es im func.php noch mehr funktionen!
sincerely larix
					also ich hab ein formular, dass alle eingaben an eine funktion in ein externes File schicken soll, was muss ich genau bei der Formularaction (action="func.php") eintragen ?
---> input.php
PHP-Code:
	
	
<html><head>blub</head><body>
<form name="input" method="post" action="func.php">
<input type="text" name="text" size="35">
</form></body></html> 
PHP-Code:
	
	
<?php
function ausgabe(){
echo '$text';
}
?>
sincerely larix
 
          

 mit submit usw. oder sonstwie.
 mit submit usw. oder sonstwie.
Kommentar