#1
  1. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Apr 2001
    Posts
    910
    Rep Power
    0

    Is It possible to send javascript form ifo via php to mysql


    I have an order form that is completed in javascript, can someone please tell me if it is possible to send the buy info via php to a mysql database when a custom clicks order?

    I am attaching the script in case it helps.

    Thanks

    Tim

    <a href="http://forums.devshed.com/attachment.php?postid=184026">cart.php</a>
  2. #2
  3. Full Access
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jun 2000
    Location
    London, UK
    Posts
    2,019
    Rep Power
    16
    The script doesn't seem to have a <form> tag, which is a kind of essential thing to have in a form


    Once you have added one, make its action point to your PHP script:

    Code:
    <form method="POST" action="myscript.php">


    Hope this helps.
    Alex
    (http://www.alex-greg.com)
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    5
    Rep Power
    0
    timsharpe, didn't I tell you TO NOT USE more than 40 chars in your subject title here?
    And when the ***** are you going to listen?

IMN logo majestic logo threadwatch logo seochat tools logo