PHP help

Alles, was PHP betrifft, kann hier besprochen werden.

PHP help

Postby pathfinder80 » 03. August 2007 20:24

(PHP code)I have a list box to display the array element. When I click on the "Remove all" button the elements are deleted from the list box (used javascript onclick event). But at the same time the elements should also get deleted from the array which is not happening in my case. How do I delete the array elements while removing the elements from the list box.

Thanks!!
pathfinder80
 
Posts: 12
Joined: 26. June 2007 22:13

Postby KingCrunch » 04. August 2007 01:16

While there is no request, there is no array, because there is nothing, that will be sent to or from the server. So, where should this array be?
Nicht jeder Fehler ist ein Bug ...
KingCrunch
 
Posts: 1724
Joined: 26. November 2005 19:25

Postby pathfinder80 » 06. August 2007 17:24

I want this array to be on the server. How do I collect the values from the list box into an array.....

Thanks.
pathfinder80
 
Posts: 12
Joined: 26. June 2007 22:13

Postby Wiedmann » 06. August 2007 18:25

How do I collect the values from the list box into an array.....

For example:
http://de.php.net/manual/en/faq.html.ph ... tml.arrays
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to PHP

Who is online

Users browsing this forum: No registered users and 2 guests