Hi,

Not exactly sure about the requirement, but I think it is a design issue
rather than a code issue.
Here are a few questions that you might ask yourself.
1. Why is the number of users not known in advance?
2. Is it possible to take the number of users as an input? (Then you could
use an array??)
**3.  Why should you be providing a  user entry for the input of unknown
length data?  May be you  would give an option to upload a delimited text
file to be loaded to your mySQL database




knk

On 1/4/07, zeevy <[EMAIL PROTECTED]> wrote:
>
>   hi
> I need some help on PHP
> consider this
> /*
>
> <form method="post" action="action.php>
> <input type="text" name="<? $username1 ?>"> <input type="text"
> name="phno">
> <input type="text" name="<? $username2 ?>"> <input type="text"
> name="phno">
> <input type="text" name="<? $username3 ?>"> <input type="text"
> name="phno">
> <input type="text" name="<? $username4 ?>"> <input type="text"
> name="phno">
> <input type="submit" name="submit">
> </form>
>
> */
> in above am collecting the phno of users 1 2 3 4 etc..
> the problem is i am not sure how many users will be there
> no may in crease or decrese
>
> i have to insert the phno into existing mysql data
>
> help me
>
> zeevy

Reply via email to