php-general Digest 9 Aug 2008 14:50:58 -0000 Issue 5615

Topics (messages 277930 through 277934):

Re: Graph type
        277930 by: Jim Lucas

Re: Using Ajax to populate a drop-down list
        277931 by: tedd
        277932 by: tedd

Re: PUT vs. POST (was: php File upload)
        277933 by: Per Jessen
        277934 by: Richard Heyes

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
tedd wrote:
At 7:45 PM +0100 8/8/08, Richard Heyes wrote:
Hi,

Well, whatever it is, I made one. Just a picture at the moment because
I have no website... :-(

http://picasaweb.google.com/richard.heyes

--
Richard Heyes
http://www.phpguru.org

Seriously, it looks just like a horizontal bar chart showing two distributions.

If you want to see the most suburb graphs ever, try viewing this:

http://weirdboi.multiply.com/video/item/7/The_3rd_world_myth

This presentation is the best I've ever seen and if we could put all data into similar presentations, we would all have a better understanding of everything.

Cheers,

tedd



So, Richard, when will your version of this be coming out???  :)

--- End Message ---
--- Begin Message ---
on 08/08/2008 12:58 AM Don said the following:
Hi,

I have a form with two lists. One is populated with many options while the second is populated with only a single item. When the first drop-down list is changed, I call a PHP script sing AJAX to populate the second list. I also need to perform another task when the second list is changed but it seems not to work.

I think this is because even though my AJAX script populates the second drop-down list using pure PHP code, the second drop-down isn't aware of it. I've tries adding JavaScript code in the AJAX route to add options to the list but it's not working.

Does anyone have an example of how to do this?


Don:

As I understand your problem, there's no need to let the server-side know anything until after the user has selected their choice from the drop-downs. You can do everything client-side via javascript and not use AJAX at all.

Here's an example of populating drop-downs using just javascript:

http://www.webbytedd.com/b/dyn-select/

It's a simple matter to put in a submit button and pass the user's selections on to a waiting php script.

I think using Ajax here is over complicating your problem.

Cheers,

tedd

--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

--- End Message ---
--- Begin Message ---
on 08/08/2008 12:58 AM Don said the following:
Hi,

I have a form with two lists. One is populated with many options while the second is populated with only a single item. When the first drop-down list is changed, I call a PHP script sing AJAX to populate the second list. I also need to perform another task when the second list is changed but it seems not to work.

I think this is because even though my AJAX script populates the second drop-down list using pure PHP code, the second drop-down isn't aware of it. I've tries adding JavaScript code in the AJAX route to add options to the list but it's not working.

Does anyone have an example of how to do this?


Don:

Here's another example.

http://webbytedd.com/cc/dynamic-option/

Cheers,

tedd
--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

--- End Message ---
--- Begin Message ---
Boyd, Todd M. wrote:

> I had to use Java for the simple fact that PHP by itself cannot access
> the local file system in a way that allows for the partial loading of
> files. 

Given that PHP doesn't run on the client, there is no way for anything
written in PHP to access anything on the client. 


/Per Jessen, Zürich


--- End Message ---
--- Begin Message ---
> Given that PHP doesn't run on the client, there is no way for anything
> written in PHP to access anything on the client.

Wouldn't it be fun though if it could? :-)

-- 
Richard Heyes
http://www.phpguru.org

--- End Message ---

Reply via email to