|
Posted by Andy Jeffries on 05/03/06 00:41
On Tue, 02 May 2006 13:47:08 -0700, Regenuluz wrote:
> I'm pretty sure AJAX would be the best choice here. And the only one I can
> think of, where you don't have to reload the entire page.
You could also use a regular Javascript data structure within <script>
tags dynamically printed/echoed using PHP, then filter the data structure
using Javascript to only display the relevant items.
However, it could make page weight enormous, so it may not be possible
with your dataset (plus you may not like the idea of your dataset being
easily viewable, although anyone can read the AJAX source and pull it
using a script if they're interested so neither way is secure).
I do, however, agree with Regenluz that AJAX would be the best solution,
but in case writing custom AJAX code is out of your realm of abilities,
there is the way I suggest above.
Cheers,
Andy
--
Andy Jeffries MBCS CITP ZCE | gPHPEdit Lead Developer
http://www.gphpedit.org | PHP editor for Gnome 2
http://www.andyjeffries.co.uk | Personal site and photos
Navigation:
[Reply to this message]
|