Problem with GET method when updating database

    Date: 12/31/07 (PHP Community)    Keywords: php

    The script should show a list of stuff which could be changed if the checkbox is ticked and button "Edit" is submitted or deleted if button Delete is submitted.

    But for some reason it worls very strangely. First of all, it allows to change only last thing on the list. At that if checkboxes of previous stuff in the list are ticked it updates DB with the values of the last one. And if I put tick and submit delete button it doesn't work at all.

    What is the reason of such behaviour? How to fix it?

    main file





    edit_submit.php





    Text files are here:
    http://www.helpeks.ru/code.zip

    Source: http://community.livejournal.com/php/607403.html

« Weird PHP Issue || Parse date from filename »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home