[eluser]iwillsoarlikeaneagle[/eluser]
Now I'm enlightened with the data parameter. I forgot to ask it from you.
Yes, I tried to implement it.. But, after I submitted the form correctly, it just printed $array as what (echo $array

in the last line does. No alert box was displayed containing the message. What could be the problem??
Thanks also for enlightening me about json. However, I use PHP 5, is it okay to use your example?