Re: AJAX and PHP
| From: | Peter Wang | Date: | Sat, 04 Oct 2008 10:41:10 +0000 |
| Subject: | Re: AJAX and PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-281433@lists.php.net to get a copy of this message | ||
"Alain Roger" <raf.news@gmail.com> writes:
I think both will be ok, it just depends on what's you want:)
> HI,
>
> i'm currently working on some web application and i would like to know what
> is the best way to do what i want.
> basically like all application i have a menu and based on selected item menu
> i want to display a page (basically 50 % of this new page is DB result/grid.
>
> As usual i have 2 divs, one for the menu one for the content of DB to
> display.
> i would like to know if it's not better to use AJAX to load the content of
> the second div (DB result and other stuff) instead to every time load a new
> page which load menu and content of DB ?
>
> what are your experiences on such thing ?
> thx.
>
> --
> Alain
> ------------------------------------
> Windows XP SP3
> PostgreSQL 8.2.4 / MS SQL server 2005
> Apache 2.2.4
> PHP 5.2.4
> C# 2005-2008