•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 403,495 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,241 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 2799 | Replies: 2
![]() |
•
•
Join Date: Jun 2004
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
I'm trying to make a manager that works with MySQL to create, delete and update classes in a database. I'm having trouble with the update/modify portion. I have a login page in HTML that has the action of manager.php, which shows a list of all the classes in the database and allows the user to check some checkboxes to modify or delete the selected classes. When I check some classes and try to modify them, the information is passed to the $_SESSION superglobal. When I run the update commands on the modify page, I use unset() to unset the class variables in $_SESSION. But when I go back and try to select other classes, I get both the ones I just checked and the ones that I chose previously. I'm pretty new to PHP, please help. I have the code posted here in .txt format:
http://www.geocities.com/zygo8/files.html
http://www.geocities.com/zygo8/files.html
•
•
Join Date: Jun 2004
Posts: 173
Reputation:
Rep Power: 0
Solved Threads: 9
its a bug in php.
http://bugs.php.net/bug.php?id=19586
btw, you know phpmyadmin does exactly what your trying to make.
http://www.phpmyadmin.net/home_page/
•
•
•
•
unset( $_SESSION['variable'] ) fails to unset the given session variable
with registered_globals turned 'on' in ini file.
http://bugs.php.net/bug.php?id=19586
btw, you know phpmyadmin does exactly what your trying to make.
http://www.phpmyadmin.net/home_page/
![]() |
•
•
•
•
•
•
•
•
DaniWeb PHP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- Problem passing variables to thread (Perl)
- bar graph & _POST variables (PHP)
- problems with referring to class variables (Java)
- Problem with php5 variables (PHP)
- Dialog Box alongwith Form (Visual Basic 4 / 5 / 6)
Other Threads in the PHP Forum
- Previous Thread: Event List for Car Show Fan Site -
- Next Thread: How can i deledet and update from table ???????


Thanks for the post, it's been driving me nuts! :mad:
Linear Mode