Posts by Stuney • 31 points
1 post
-
3
votes2
answers2017
viewsA: Check if $_GET exists within the view
Use isset() it returns true if there is something Example: $var =""; if(isset($_GET['suavar'])){ //Se existir o GET você atribui o valor, caso contrário, a variável fica valendo "" $var…