I'm new to web programming. So I want to use datatable to show different tables. I have a database table message and just want to select all messages that are identical to the session user ID. But I have trouble finding where and how to filter the message before a user can see the result.
I have a function in a PHP file for the selection (NachrichtenController.php) and an HTML file (Nachrichten.php) to display the result. I attached both files.
The second problem is that I can create a new line, but the sender and recipient user IDs are not saved.
Can I also provide the box for creating, updating, etc. with a headline in German?
Many thanks for your help.