Posts by Juan Pablo • 33 points
2 posts
-
0
votes1
answer47
viewsQ: Script execution after clicking a link
I am learning PHP and my challenge is to make a shopping cart using SESSION. Within my logic, I’m trying to execute a array_push, after clicking on the link "insert product in cart", from the…
-
3
votes2
answers66
viewsQ: Why does the function return me an unexpected value?
Why this function is returning me "failed"? $nFis = 90 function resFis(){ if($nFis >= 60){ return "aprovado"; } else{ return "reprovado"; } }…