Posts by Matheus Ferreira • 91 points
8 posts
-
0
votes3
answers63
viewsQ: Sort table by date
I have a question about how I can get recent purchases by date and time. I tried to: $stmt = $this->pdo->prepare("SELECT * FROM `website_transactions` ORDER BY `transaction_DATE` AND…
-
-1
votes1
answer54
viewsQ: TOP 5 PLAYERS
I’m trying problems in my code, I wanted him to get the 5 best players who most purchased products in the month, the problem is that I wanted him to catch the guy’s user and show the amount he paid,…
-
2
votes2
answers76
viewsQ: Reserve image - SRC
I’m wondering if it’s possible to create a secondary image if the main image doesn’t exist In case, if someone registers and does not put photo, he set a default img. <img…
-
-1
votes2
answers110
viewsQ: Mount "if"s according to criteria
I’m having a question on the condition I’m willing to put in my system. In case the site will check if the "Paid" is with the result 1; if you have 1, it will put "Delivered", but if you have 0 it…
-
-1
votes1
answer33
viewsQ: Phpmailer - does not work
so I’m trying to make a form to send some information in my email, it is returning successfully but ends up not sending the email. php. <?php include_once('phpmailer.php'); //Chama o arquivo…
-
1
votes1
answer48
viewsQ: Input giving wrong results
i am making a store with paypal, pay and mercadopago, but at the time of purchase when I select the input, it always saves as mercadopago. Controller public function checkout() {…
-
1
votes2
answers50
viewsQ: Table position
hello, I’d like to know how I can number the table by numbers, example, each would have their indicator as I’m making 1 top 100 players and wanted to number each with the position number public…
-
0
votes1
answer63
viewsQ: How to change the color of 1 string
Hello, so I want to do 1 player rank on my site, and I put the position of each player there, but it has 1 however, each position has its color, and in mysql is only the title name, as I do for it…