Posts by Gabriel • 129 points
6 posts
-
0
votes1
answer194
viewsQ: Django returning wrong time in the template, why?
I saved in my bank a date, in a field of the kind datetime(6), the date saved in the database is: 2020-05-13 14:13:50.000000, however, when I try to print this date in the template using {{…
-
0
votes0
answers164
viewsQ: Get a specific HTML attribute using Beautifulsoup
I’m trying to capture (catch) an attribute called srcset within a tag img <img _ngcontent-games2-c5="" class="mdc-image-list__image ng-lazyloaded" offset="100" src="/assets/img/lazy-load.jpg"…
-
4
votes1
answer198
viewsQ: How to show all the contents of a variable using var_dump?
I’m thrashing an object (let’s say), but when I use var_dump, the entire content of this object does not appear. var_dump($obj[0]->link); Upshot: string…
-
1
votes1
answer91
viewsQ: MD5 is passing checks
I have a problem when I use MD5 in my passwords, I have verification: if(empty($regPassword)){ exit('<div class="alert alert-danger margin-top15">» A <b>senha</b> é…
-
1
votes1
answer88
viewsQ: In the index used in the query / prepared statement
I have a strange Warning in my code, when there is only one data in DB it recognizes and works well, but when I insert more than 1 data in DB it shows me the following Warning: No index used in…
-
4
votes2
answers824
viewsQ: Customize error messages on database connection
Good here in the stack I found some topics that helped me, I’m new with PHP, and I wanted to make my connection return a custom message without making it show those warnings. Only when I add the…