Search found 2 matches

by julia
11 Apr 2019, 19:54
Forum: Designing Solutions Through Programming
Topic: Destroying a session PHP
Replies: 1
Views: 784

Destroying a session PHP

I want to unset all variables of the session when a user goes back to the homepage. I have the session_destroy() function but the variables still stay in the array.
Screen Shot 2019-04-11 at 19.49.22.png
Screen Shot 2019-04-11 at 19.49.22.png (19.63 KiB) Viewed 783 times
Screen Shot 2019-04-11 at 19.48.30.png
Screen Shot 2019-04-11 at 19.48.30.png (18.61 KiB) Viewed 783 times
by julia
02 Apr 2019, 09:58
Forum: Designing Solutions Through Programming
Topic: MYSQL
Replies: 1
Views: 833

MYSQL

I want to add a WHERE condition if the variable is not set to "none". I am trying to combine two case statements in one SELECT WHERE statement in MYSQL. It tells me that there is an error in my SQL but I couldn't find any answer on the internet. This is my code: "SELECT * FROM `restaurants` WHERE CA...