Posts by RuiAlvez • 11 points
5 posts
-
0
votes1
answer20
viewsQ: PHP - Getting SQL sum through Prepared Statment
Good, $stmt2 = $con->prepare("SELECT SUM(product_qty) AS value FROM public_order_checklist WHERE order_code = '$order_code'"); $stmt2->execute(); $stmt2->bind_result($value);…
-
0
votes1
answer41
viewsQ: Excel - Insert values within text
Good, I am creating an excel where I would like to insert values (in function) within text. I want to pass values from Column F12 to H12. I want to insert text here where it says [here] UPDATE…
-
0
votes1
answer35
viewsQ: Undefined index when fetching database records
I created a code that makes you select all REWARDS from the database, calculate and a result. function updating_exp($con) { global $con; $stmt = $con->prepare("SELECT SUM(reward_qty) AS…
-
0
votes1
answer358
viewsQ: PHP - Create cookie with multiple values
Good Afternoon, I am creating a script that will add cookies to the user account. The problem is... I want to add several cookies for example: If the user clicks add to the advertisement 1 it will…
-
0
votes0
answers73
viewsQ: PHP - Update player level
Hello, I’m creating a system of levels But, the level updates according to the refresh of the page. example: Exp maxima is 100% which is = to 100. If I add 1000 Exp to the user’s account, it uploads…