Posts by Gabriel Santos • 241 points
5 posts
-
1
votes3
answers69
viewsA: SQL syntax error in a Flask application
The error in the query is here: ); ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; ^ You have a semicolon where you shouldn’t. Regardless of alerting you to the error location, I respectfully…
-
0
votes1
answer276
viewsA: Telegram duplicating messages
In your query, if you don’t group the die, you can have duplicate lines. SELECT alerta.nr_celular nr_celular, setor.nm_setor nm_setor, alerta.ds_email ds_email, cliente.nm_cliente nm_cliente FROM…
-
5
votes1
answer38
viewsA: Frames formed by other htmls are not appearing
Unlike a common HTML page, a Frameset has a tag frameset in place of tag body: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <HTML>…
htmlanswered Gabriel Santos 241 -
2
votes2
answers367
viewsA: Mysqli vs PDO - query/function execution
For PDO is easy and the documentation itself explains: PDO::__Construct() throws a Pdoexception if the Attempt to connect to the requested database fails. as the return of PDO, in case of error, is…
-
3
votes1
answer3874
viewsA: What is the importance of using "track by" in "ng-repeat"?
Whenever you have one track by that identifies the line, when updating your data, you do not need to recreate the entire DOM, those that are already properly identified and exist in the update will…