I need to know if it is possible to get the values of texfields with dynamic names. (the size of the database varies from day to day that's the reason for this thing!)
They will later on be send via email to somebody.
This is a little sketch of my code:
<?
$link = mysql_connect ("localhost", "admin", "admin")
or die ("Could not connect\n");
$result=mysql_query("select * from message.nachrichten");
$number = mysql_numrows($result);
print "<form name=form1 method=post action=>";
$j=0;
while ($j<$number):
print mysql_result($result,$j,"name");
echo "<input type=text name=textfield$j>";
print "<br>";
$j++;
endwhile;
print "<input type=submit name=Abschicken value=Abschicken>";
print "</form>";
?>
I need this construct for a customer and it's rather urgent, so if somebody could give me a hint... thanks folks... and by the way I'm rather at beginners skill with PHP, please be gentle ;-)