![]() |
I try to determine if a variable is set and if so then the checkbox is selected. I tried it with this code but it dont works, when i execute it then all the checkboxes are checked while only one field is filled with aw so 1 checkbox has 2 be checked instead of all :(
PHP Code:
PHP Code:
Hope someone can help me out, any help is appreciated. |
i've laready asked 5 times for this :( looks like we'll have to wait to v 3 to me :(
|
Try this...
PHP Code:
|
Thanks for the replies
@firefly, that didnt worked. I tried this code and it works now :up: PHP Code:
|
You need to set a hidden field saying the field WAS there, and then in the parsing if the variable doesn't exists (=checkbox is not checked) remove the row.
|
Cool, thanks Firefly. I gonna test that out.
Be Right Back :D |
i'm going crazy :D
i'm using the following code: PHP Code:
1. Awards name with the awardsid 9 and aw is also 9 2. Lesane with the awardsid 13 and aw is empty (means not checked) So when i execute the script then i c awards name selected and lesane is not selected and if i check the code by <input type =hidden then i c: <input type='hidden' name='delete[]' value='aw[13]'> so thats right, lesane is not selected and have the id 13. Now i'm totally confused because when i click on submit then it deletes lesane totally and when i uncheck the award with the name "awards name" then that aw is not gonna deleted because only the input type = hidden was lesane :( So my questions are: Whats the delete query to delete only the aw row from awards where awardsid=? & How is it possible to delete the aw row from the award called "Awards Name" when i uncheck him? I hope u have a solution :( |
working now or not
|
firefly why ican't download attachment
|
No, its still not working.
When i try 2 unselect a checkbox and press on submit then he must delete the variable from that table :?: |
All times are GMT. The time now is 03:59 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|