Editor updating causes entire db table to be updated

Editor updating causes entire db table to be updated

jordan2291jordan2291 Posts: 2Questions: 1Answers: 0

Hi there,

Im trying out the Editor to update SQL database tables as per the examples - specifically I am looking to try implement the inline-editing->simple.html example.

I have update the config file to suit my MySQL database, and i've appropriately create a database table 'datatables_demo'.

I can get the datatable populated with entries from the database, however when i use the edit button to modify an entry, ALL entries on the table are modified with the selected entry to be modified.

How do I stop this? I have not made any changes to the files other than the config.php file.

thank you for your help with this great tool!
Kind regards
Jordan

Answers

  • jordan2291jordan2291 Posts: 2Questions: 1Answers: 0

    GAHHHH, PK's not unique... thanks anways

  • allanallan Posts: 61,903Questions: 1Answers: 10,148 Site admin

    Heh - good to hear you got it sorted out :-)

    Allan

This discussion has been closed.