Search found 7 matches

by NOVI
Fri Sep 23, 2005 10:12 am
Forum: PHP - Code
Topic: delete from a select menu
Replies: 14
Views: 1170

echo "<form action=\"".$_SERVER['PHP_SELF']."\" method=\"post\"> <input type=\"hidden\" name=\"mode\" value=\"delete\"> <select name=\"id\" onchange=\"this.form.submit()\" size=\"4\">"; $query1 = &qu...
by NOVI
Fri Sep 23, 2005 8:48 am
Forum: PHP - Code
Topic: delete from a select menu
Replies: 14
Views: 1170

Thanks feyd "I have many problems with the English, Sorry" the select of the city was as example. I want to cancel a whole line, not only a value,a whole line is composed from more values I want: 1)to select a line 2)to press a button that cancels the whole line 3)I don't want redirect in ...
by NOVI
Fri Sep 23, 2005 8:14 am
Forum: PHP - Code
Topic: delete from a select menu
Replies: 14
Views: 1170

Thanks feyd,
exact
I want to delete a record when a selection is made in the selectbox
by NOVI
Fri Sep 23, 2005 8:10 am
Forum: PHP - Code
Topic: delete from a select menu
Replies: 14
Views: 1170

Thanks d11wtq
the select of the city was as example.
I want to cancel a whole line, not only a value,a whole line is composed from more values
I want:
1)to select a line
2)to press a button that cancels the whole line
excuse but yesterday I have gone to sleep
Many thanks.
by NOVI
Thu Sep 22, 2005 4:18 pm
Forum: PHP - Code
Topic: delete from a select menu
Replies: 14
Views: 1170

This is the code that produces the list echo "<form action=\"".$_SERVER['PHP_SELF']."\" method=\"post\">"; echo "<select name=\"pippo\" size=\"4\">"; $query = "SELECT * FROM `ordini` WHERE ID = '$PHPSESSID' ORDER BY prodotto&...
by NOVI
Thu Sep 22, 2005 4:08 pm
Forum: PHP - Code
Topic: delete from a select menu
Replies: 14
Views: 1170

Io parlo italiano.
by NOVI
Thu Sep 22, 2005 3:55 pm
Forum: PHP - Code
Topic: delete from a select menu
Replies: 14
Views: 1170

delete from a select menu

Hi I don't speak well the English The problem is: I have a select menu as this http://www.asp101.com/articles/john/server_side_caching/images/select_states.gif how can I cancel from my DB a selected item? I for example select "New York" and with a key delete, would like that he was cancell...