Posts by Alexjunior012 • 66 points
5 posts
-
1
votes3
answers506
viewsA: Can you start with underline?
Yes, the variables can start with a letter or underline. For example: // Variaveis validas; $_variavel = 'valor'; $_2variavel = 'valor'; $_1234_vel = 'valor'; // Variaveis não validas; $+variavel =…
phpanswered Alexjunior012 66 -
0
votes2
answers860
viewsA: Array of unique values with foreach
Dude, if it’s just the value you need, you can set the indexes of your array with the incoming id values. php overwrites all indexes that are equal, so you will only have a single index that…
-
1
votes3
answers2938
viewsA: Assign CSS value to an HTML via Javascript
msm.oliveira, I saw in the comments that you would like to pass more parameters. Follow the code as an example with more than one parameter. $('elemento').css({ 'atributo':'Valor',…
-
3
votes1
answer3945
viewsA: Array with database information
It is not possible to create a repeat loop within an array. You can create the email array using the query return itself. With each return line you feed the email array. $sql = "sua query aqui";…
-
0
votes2
answers1301
viewsA: Add input button to select
It is not possible to add one<button> inside a select natively. You get this result with javascript simulating a select.
htmlanswered Alexjunior012 66