Loading ...
Sorry, an error occurred while loading the content.

Re: [ydn-javascript] connection manager - responseText empty?

Expand Messages
  • Ken Robinson
    ... To get anything to show up in the responseText it needs to be echoed, not returned. Ken
    Message 1 of 3 , Apr 28 2:32 PM
    View Source
    • 0 Attachment
      At 05:24 PM 4/28/2006, Cathy Kenny wrote (in part):

      >when it's run responseText appears empty. here's my php script:
      >
      >$q = "select title from pe_petitions where petitionID = $pID";
      >$r = $mysql_query($q);
      >$row = mysql_fetch_assoc($r);
      >return $row['title'];

      To get anything to show up in the responseText it needs to be echoed,
      not returned.

      Ken
    • Cathy Kenny
      stars.. I knew it was something stupidly easy :) thanks a buncho! cathy
      Message 2 of 3 , Apr 28 3:10 PM
      View Source
      • 0 Attachment
        stars.. I knew it was something stupidly easy :)

        thanks a buncho!

        cathy

        --- In ydn-javascript@yahoogroups.com, Ken Robinson <kenrbnsn@...> wrote:
        >
        > At 05:24 PM 4/28/2006, Cathy Kenny wrote (in part):
        >
        > >when it's run responseText appears empty. here's my php script:
        > >
        > >$q = "select title from pe_petitions where petitionID = $pID";
        > >$r = $mysql_query($q);
        > >$row = mysql_fetch_assoc($r);
        > >return $row['title'];
        >
        > To get anything to show up in the responseText it needs to be echoed,
        > not returned.
        >
        > Ken
        >
      Your message has been successfully submitted and would be delivered to recipients shortly.