Posts by David Souza • 311 points
5 posts
-
1
votes2
answers184
viewsA: Exchange object values from the api?
One way I use to change a return is by the function map(). Using your example would look like this: this.axios.get("http://localhost/api/exemplo/").then(response => { this.items =…
-
6
votes2
answers472
viewsA: linux command - lock folder name/rename
There is a procedure that can solve your problem chmod 000 chattr +i -R with chattr +i this code nor root can make changes to its folder and attributes. The -R is to make it recursive. to undo is…
-
6
votes6
answers12868
viewsA: What’s the difference between Isis and elseif?
Just to clarify if you still have doubts, this is the default if : if (condicao) { procedimento } else { if (outra codicao) { outro procedimento } else { mais um procedimento } } with the…
-
4
votes2
answers326
viewsA: PHP + SQL UPDATE PROBLEM
From what I checked in update you just added the $sql variable you need to use the mysql_query function for the procedure to take effect $sql = mysql_query("UPDATE users SET points='$soma' WHERE…
-
1
votes3
answers589
viewsA: Exception in reading XML file
Hoping it is relevant, if the problem is related to an empty value there is an alternative. Create an extension method. Create a class with methods like this public static class MetodosExtensao {…