XMLHttpRequest/mult records

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • David Williams

    #1

    XMLHttpRequest/mult records

    Hello everyone,
    I had a question about returning multiple records
    using XMLHttpRequest and AJAX. Right now,
    I can make a SQL connection and pull informatin from
    my DB using php. But that information is just one
    record meaning I don't see a way to look
    at the xmlhttprequest and say I need value A, or value B
    without making multiple calls to the script using AJAX.

    Right now, I just put all of the data into one
    character delimited string and parse it value by value
    to get what I want.

    Is there a better way?

    If I read Alexey Kulentsov's post correctly, there is not
    but maybe I read it wrong. There was something about
    AjaxChannel but that may not be the cure.

    Thank You,
    --David Williams

    --
  • David Williams

    #2
    Re: XMLHttpRequest/mult records

    Thanks Rik,
    The way you structured this should make it easy
    for me to understand.
    I will send e-mail with my results.



    --
    David Williams

    Comment

    Working...