i want to make an arbitrary array elements??!!

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
buffon
Forum Newbie
Posts: 8
Joined: Wed Mar 23, 2011 2:58 pm

i want to make an arbitrary array elements??!!

Post by buffon »

hi

i want while the user keep entering some information it's added to the array until he finished it

how could i do that without limiting the array elements...???

i mean the number of elements is the number the user will enter

Regards,
Buffon
jankidudel
Forum Commoner
Posts: 91
Joined: Sat Oct 16, 2010 4:30 pm
Location: Lithuania, Vilnius

Re: i want to make an arbitrary array elements??!!

Post by jankidudel »

do that:

$arr[] = $elem;
buffon
Forum Newbie
Posts: 8
Joined: Wed Mar 23, 2011 2:58 pm

Re: i want to make an arbitrary array elements??!!

Post by buffon »

thank u 4 your help it works fine with me
Post Reply