Posts by Tiago • 13 points
5 posts
- 
		0 votes1 answer193 viewsQ: Mongodb - change object value within object arrayI have a Collection in mongodb called users containing the field (which is an array of objects) adress. I have the following piece of code to replace and change in the database: async… 
- 
		1 votes0 answers28 viewsQ: ajax returns no error or successI have 3 ajax functions that are posting to a REST api //--------------------------cliente---------------------------------------------------------- const urlattime = document.location.origin;… 
- 
		0 votes1 answer39 viewsQ: Problems to edit items within the structI have the following struct: typedef struct { int id; char nome[50]; int tipoUser; float vencimentos; int id_clinica; } Utilizador; I enter in the same values from the following functions : void… 
- 
		0 votes0 answers21 viewsQ: C Structures insert made but cannot readI have a struct typedef struct { int id; char nome[50]; int tipoUser; float vencimentos; int id_clinica; } Utilizador; into which I enter values using the following code: void… 
- 
		0 votes2 answers217 viewsA: How to make a random choice without repeating PHPInstead of "IF"(se), use "WHILE"(while): while ($animal_escolhido == $outroAnimal){ $outroAnimal = rand(0, count($animais)-1);´ } Documentation…