<div dir="ltr">Good day,<div><br></div><div>probably a very basic question but i don't get the picture clear how it should be done.</div><div><br></div><div>I already have a basic application running which collects the data from a mysql database.I'm also making use of html::table::fromdatabase to get a table view of all the selectable items.</div>
<div>The table has been adjusted that when the user selects a row it gets pointed to a route handler.</div><div>So now comes the question.</div><div><br></div><div>How can i setup the route&view/layouts in such a way that the user is now capable of editing and updating the entries.</div>
<div><br></div><div>the user gets pointed towards:</div><div>/edit/....</div><div><br></div><div>i think i can now have the following sub:</div><div>get '/edit/:client_name' =>sub {</div><div>.......what's required here........??????</div>
<div>};</div><div><br></div><div>but now i'm stuck i don't know what to do.</div><div><br></div><div>the db_table is quite simple:</div><div>client_name is the key and has 3 other rows</div><div>var1 string</div><div>
var2 string</div><div>var3 string</div><div><br></div><div>So i would like now to be able to show a page which shows the end user var1/var2/var3 and provide the possibility to update the 3 vars.</div><div><br></div><div><br>
</div><div><br></div><div>Any help is appreciated.</div><div><br></div><div><br></div></div>