logout + redirect got
I think I have found a solution to logout and redirect to another page:
1. In the form where I have put the button close session, I put the action "logout.php"
2. I created the "logout.php" file by copying the code generated through the Log Out panel of MySQLi SB.
3. After this code, I have put the necessary php for the redirection to the index.php of my site.
But I continue to donate the rest of my problems:
1- Show the name of the user after login something like "Hello, [username]" because now I only see the name of the first user in the user table.
2- I can not get the Delete Record server to work
Thanks for the help.
I feel all these questions and doubts. But it is that the old panels of Server Behaviors and Bindings resolved these things without having to intervene in the code.