Hallo,
function test($a_tel) //$a_tel wird von einem Formular Übergeben
{
return $a_tel;
echo $a_tel;
}
also definierst du eine Funktion, die *ein* Argument erwartet und auch benutzt.
test();
Und dann rufst du sie auf, und übergibst *kein* Argument.
Warning: Missing argument 1 ......
Ja logisch, oder nicht? Wenn du einen Parameter vorsiehst, musst du ihn der Funktion auch geben - womit soll sie sonst arbeiten?
So long,
Martin
--
Success should be measured not so much by the position that one has reached in life,
but by the obstacles one has overcome while trying to succeed.
Success should be measured not so much by the position that one has reached in life,
but by the obstacles one has overcome while trying to succeed.