@jinkasJun 03.2005 — #Well, you don't really need to pass $total, since you can just calculate that in myphp.php. To pass the array, use http://us3.php.net/serialize and receive it in myphp.php with http://us3.php.net/unserialize However, if you are passing this publically (GET), make especially sure to do error/taint checking in myphp.php because the user can modify data in the array.
An alternative, if viable and if you aren't using GET, would be to make the array a session variable and work with the data through sessions.