Reply to Re: [PHP] Jpgraph and drop down menus examples

Your name:

Reply:


Posted by Richard Lynch on 04/01/05 09:39

On Thu, March 31, 2005 9:26 pm, Graham Anderson said:
> does anyone have or know of an example where:
>
> user chooses values from a couple of drop down boxes
> dateabase is queries and gives the values to jpgraph
> jpgraph draws the image on the same html page
>
> all the examples I have seen reload the whole page or go to a new page
> when jpgraph does its thing....
>
> does an example like this exist ?

Well, no.

If it was drawn on the same page without hitting the server, then PHP
wouldn't be involved, and it would all be in JavaScript.

Actually, I guess you could *MAYBE* write a Java Applet/Servlet, using
keep-alive, and then have PHP create the Java objects, and then, in
theory, you could have an open connection from the browser back and forth
to PHP...

But I've never seen anybody succeed at that, and I can guarantee that
you're asking for a LOT of headaches and big problems with server/browser
interaction, and HORRIBLE performance for the end-user experience.

You might be able to find something like jpgraph for JavaScript, but then
your question wouldn't really be appropriate here.

--
Like Music?
http://l-i-e.com/artists.htm

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация