Re: retrieve result of a query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You can return (echo) a JSON or a XML with those results.

That way it doesn't store the file anywhere. :)

(I'd go for JSON + jquery)

Regards,
Thiago Henrique Pojda


On Sun, Dec 28, 2008 at 11:32 AM, Alain Roger <raf.news@xxxxxxxxx> 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
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux