[PHP-DEV] Advise needed!!!! From: gberaj Roslee Bin Abdul Jalil (gberaj <email protected>)
Date: 12/23/99

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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>