Search found 1 match

by SophieLins
Tue Feb 05, 2019 10:48 am
Forum: PHP General
Topic: Refactor short code snippet
Replies: 1
Views: 425

Refactor short code snippet

Good afternoon guys, I have two code snippets, I'm studying good programming practices and I would like to know if anyone has any tips on how to refactor and improve the following code snippets. if(isset($_SESSION['loggedin']) && $_SESSION['loggedin'] == true){ header("Location: http://www.google.co...