Results 1 to 4 of 4

Thread: save value with ajax

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2008
    Posts
    97

    save value with ajax

    hi,
    i want save a value to the db by pressing a link or button without reload or open a new window i have see the ajax returning data without refreshing the page but save a value...
    any one know a way to save a value using ajax? i using php
    thanks a lot for your help

  2. #2
    Frenzied Member the182guy's Avatar
    Join Date
    Nov 2005
    Location
    Cheshire, UK
    Posts
    1,473
    Chris

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Feb 2008
    Posts
    97

    Re: save value with ajax

    hi thanks for your help but i only found examples to receive data from the server and i want save data to the server
    there is any example that save data to the server? thanks

  4. #4
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: save value with ajax

    Javascript makes the request to the server in the same way as the browser. Therefore you would pass the information required by the server; such as the record to update and the value in a HTTP POST request.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width