In this website there are no changes when I click the button "usun".
The button works but I can see any changes on my website when I click the button.
I don't know where is the bug.
Updated by Koen Deforche about 9 years ago
- Status changed from New to Feedback
- Assignee set to Koen Deforche
That's hard to say because you only have part of the code...
One guess is:
ptr rekord = session.find().where("id1 = ?").bind(boost::lexical_caststd::string(k));
Here you bind a string, while in fact the underlying field (id1) is an numeric type ?
ptr rekord = session.find().where("id1 = ?").bind(k);
Perhaps you should run your code in a debugger with 'catch throw' and/or carefully examine the error log of Wt.
Updated by Paweł Grzybowski about 9 years ago
The code is OK, but when I run the program and I click on the links and buttons on my website the program read the data from the database but I can't see the results on the webpage for example when I enter some data and add to the database then I click on the link and I can't see the results on the webpage.