Returning a recordset to a desktop app
| From: | Ken Watkins | Date: | Fri, 04 Mar 2011 23:48:07 +0000 |
| Subject: | Returning a recordset to a desktop app | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-311677@lists.php.net to get a copy of this message | ||
Hi All.
I have a Windows desktop app that I created using Visual Foxpro (a database app).
I want to write a PHP script that I will call from my desktop app. The script will simply
query a MySQL database on my web server and return the recordset to the desktop app.
My question is simply this: What is the preferred method for passing this recordset back
to the desktop app? I'm assuming that there's no reasonable way to send a recordset back
without converting it to an array or XML or an object or something? How do I return the
data in the recordset to the desktop app?
Thanks for your advice.
Ken Watkins