Posts by R.Silva • 111 points
8 posts
-
1
votes2
answers111
viewsA: Move row to another table in the PHP PDO database
But why all this work? Is it really necessary to move to another table? Because you do not create an "deleted (bool)" column and mark it as true when the client exlcuires the record, then show only…
-
0
votes3
answers48813
viewsA: Receive external JSON data from PHP
You want to receive a json object like this? { "nome" : "ra" } Example and submission (POST) <?php $request = new HttpRequest(); $request->setUrl('http://localhost:8080/usuariosapi.php');…
-
1
votes1
answer692
viewsA: Angularjs + route - Failed to execute 'replaceState' on 'History': A history state Object with URL '...' cannot be created in a Document
I found the solution to the problem Initially seeing this post I realized where was the error https://stackoverflow.com/questions/25790349/angularjs-infinite-loop-with-ng-view The problem is that my…
-
0
votes1
answer692
viewsQ: Angularjs + route - Failed to execute 'replaceState' on 'History': A history state Object with URL '...' cannot be created in a Document
Good Morning Everyone, Someone has already had the problem of the XDK / Cordova application getting looped when booting. This error only occurs on the device. It stays "rebooting" until error occurs…
-
2
votes2
answers579
viewsA: Exception of type System.Nullreferenceexception
You can test whether the "Session" is not null before passing the value. Example: int cod_centro_custo = 0 if (Session["cod_centrodecusto_usuario"] != null) cod_centro_custo =…
-
1
votes3
answers16505
viewsA: How to get month and year of a date?
Would that be? select str_to_date('12/31/2011', '%m/%d/%Y') as txtData, year(str_to_date('12/31/2011', '%m/%d/%Y')), month(str_to_date('12/31/2011', '%m/%d/%Y')) from pedidos where…
-
3
votes0
answers257
viewsQ: Nhibernate.Xmlserializers - Isn’t there?
Unable to load file or Assembly 'Nhibernate.Xmlserializers, Version=4.0.0.4000, Culture=neutral, Publickeytoken=aa95f207798dfdb4' or one of its dependencies. The system cannot find specified file.…
-
0
votes2
answers612
views