Support #1345
closedno changes
0%
Description
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.
Files
Updated by Koen Deforche over 12 years ago
- Status changed from New to Feedback
- Assignee set to Koen Deforche
Hey,
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.
Regards,
koen
Updated by Paweł Grzybowski over 12 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.
Updated by Koen Deforche over 11 years ago
Hey,
You need to make sure you rerun the queries if data in the database modified. Are you doing that?
koen
Updated by Koen Deforche over 9 years ago
- Status changed from Feedback to Closed