Posts by Rhuan • 62 points
3 posts
-
1
votes1
answer186
viewsA: About preparing the apache Tomcat server in visual studio code
This error in the console is pq there is no environment variable pointing to Tomcat. If you already have some application to run on it, try to follow it here:…
-
0
votes2
answers49
viewsA: save random numbers
I believe you could use: $n = str_pad(rand(10000000, 99999999), 2, '0', STR_PAD_LEFT); Since the str_pad returns a string. If the table column is a varchar or an int and you are passing $n[] it will…
-
2
votes2
answers228
viewsA: Separating elements from an array for sequelize query
You are probably getting as a string "423,421,422". Then it would be necessary to split it in order to separate the values in an array: const array = id_mensagem.split(',')…