The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

static and dynamic array

i wanna add more interactive service to my user by placing dynamic message board, in the fact it just scrolling mesage using javascript.I use php and mysql to handle the data dynamically, so every user who has fill the form will see the result immediatelly,but i get the problem to make the array like:

You may not have had any replies because it is not clear what your problem is

Arrays in PHP are dynamic. In fact they are amazing - the best/simplest implimentation of a container structure I have come accross in a programming language. I just discovered that you can use arrays as queues with functions array_push() and array_pop() the other day. http://au.php.net/manual/en/function.array.php

I don't quite follow how messages relates to pesan and what the problem is. I assume that you will want to have a table in your databse named messages which has a reference to the person in table pesan?