Advise needed!!!!
| From: | gberaj Roslee Bin Abdul Jalil | Date: | Thu, 23 Dec 1999 08:47:24 +0000 |
| Subject: | Advise needed!!!! | ||
| Groups: | php.dev php.version4 | ||
| Request: | Send a blank email to php-dev+get-13963@lists.php.net to get a copy of this message | ||
Please advise on how i should go about doing this..
or is there a better way i could do it interactively with php
<Script Language = "Javascript">
function cal(this)
{
for($i=0; $i < this.value; $i++)
{
document.write("<input type=text name=foo$i>");
}
}
</Script>
<form method = post action = $php_self>
<input type = text name = foo onChange = "cal(this)">
<Script Language = "Javascript">
cal();
</Script>
</form>
Thank you