Ich meine ist so eine Funktion nicht nur in einem Projekt tauglich?
PHP-Code:
function uploadeHTMLTag($anzahl, $formName, $inputName, $method , $action, $size, $maxlength, $type, $button)
{
$cout = "<form name='$formName' action='$action' method='$method'>" .
"<table border='0'>";
for($i =1; $i <= $anzahl; $i++)
{
$cout .= "<tr><td><input name='$inputName' type='$type' size='$size' maxlength='$maxlength' accept='text/*'></td><tr><br>";
}
$cout .= "</table>" .
"<input type='button' name='uploade' value='$button'>" .
"</form>";
return $cout;
}
Gruß
23