Re: retrieve result of a query
| From: | Phpster | Date: | Sun, 28 Dec 2008 15:09:43 +0000 |
| Subject: | Re: retrieve result of a query | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-285140@lists.php.net to get a copy of this message | ||
Ajax is what you need to look at. JS can certainly accept the data being posted back from the server.
Bastien
Sent from my iPod
On Dec 28, 2008, at 9:32 AM, "Alain Roger" <raf.news@gmail.com> wrote:
Hi, basically i have a php file with several parameter received in GET or POST. this PHP page execute a db query and should return a specific amount of records and columns. however i do not want to display those records like that... i have a web page with javascript and the javascript should read those records/quesry result and display them. how can javascript read those result ? i do not want php file to create a temporary file on server, i would like to read those data on fly. so how can i do that ? i mean how or what should i do from php side ? thx. --Alain ----------------------------------------------------------- Windows XP x64 SP2 / Fedora 10 KDE 4.2 PostgreSQL 8.3.5 / MS SQL server 2005 Apache 2.2.10 PHP 5.2.6 C# 2005-2008