Posts by Macário Martins • 130 points
6 posts
-
0
votes1
answer38
viewsA: Automate Collapse with BD
Hello, Matheus! found the line below strange, in your JS code. Make sure to adjust the opening and closing of the tag div, your code works normally. indicadores += 'div class="card"'; // Deveria…
-
0
votes2
answers1078
viewsA: Bootstrap CSS issues in DOMPDF
Hi, Jackson! Why not use an absolute URL, such as the Bootstrap repository itself? My first guess is that maybe DOMPDF isn’t locating the relative path ../css/bootstrap.css. Another important thing…
-
-2
votes1
answer161
viewsA: Verification of videos per user
Hello, Matheus! Well, I don’t know if I understand the problem well, but I prepared a script to demonstrate how you can fetch the pending videos from a logged-in user. You can see it with the codes…
-
0
votes2
answers736
viewsA: Change javascript object names
Hi, Leticia, all right? I was wondering if you wanted to change the names that were added to the properties conta or if you wanted to change the name of the object collections. If you want to change…
-
1
votes1
answer1047
viewsA: Ajax request to an API
Pedro, can you replace your JS request http with https? As Ricardo said, it is necessary that your request is also made in SSL, otherwise the browser will block the mixed content (HTTP/HTTPS). When…
-
2
votes3
answers130
viewsA: Store PHP array value and quantity
Hi, Kevin I believe you can solve this issue using the function array_count_values(). Documentation here. After using this function, its values will become keys of the other array. With one foreach…