> [EMAIL PROTECTED] (Beta) wrote in
> [EMAIL PROTECTED]:">news:[EMAIL PROTECTED]:
>
> > Hi, I have a problem sending variable value from JAVASCRIPT to PHP
> > exactly i want when i press Submit button the javascript array to be
> > posted in PHP, i don;t want to use any HTML form, so sending values
> > from forms, i want the values to be posted directly in PHP so i can
> > use those values;
Well, you _have_ to do some kind of POST or GET request in
order to call a server-side PHP script with your variables.
A common trick is to use a hidden (or one-pixel) frame so the
user just does not see the output of the PHP script. This way
your custom JS post/get requests aren't easily visible to the
user.
--
Please always Cc to me when replying to me on the lists.
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]