Posts by Raul Castro • 17 points
4 posts
-
0
votes2
answers264
viewsA: Adonis (nodejs) Migration mysql error: 1045
It was an invalid character in the password. 1] I changed the user password in the database 2] I changed Nodejs to use the new password Solved.
node.jsanswered Raul Castro 17 -
-1
votes2
answers264
viewsQ: Adonis (nodejs) Migration mysql error: 1045
Experiencing an error mysql reports when running a migration with Adonis (I’m starting in the nodejs world). The application runs smoothly on my machine, when passing it to the server that in the…
node.jsasked Raul Castro 17 -
0
votes2
answers1121
viewsA: Receiving an array as a parameter in a PHP function
After the help of Ricardo Mota, he only had to add the "global".. the code returns result now: function Preco($p) { $soma=array(); global $faixaEtaria; foreach ($p as $pcos): foreach($faixaEtaria as…
-
-1
votes2
answers1121
viewsQ: Receiving an array as a parameter in a PHP function
Well, the subject may be old, but that doubt has arisen, not patience in rewriting the code... The following code is not generating a result. There’s a function that’s basically like this: function…