Posts by PaulistanoSP • 25 points
3 posts
-
1
votes1
answer40
viewsQ: print array in the amount of values of another array
I’m new to php and have the following problem, I wanted to print an array with string values in the amount of values of another array with integer values. That must be it. $string =…
-
1
votes1
answer38
viewsQ: How to create an array with strings in the amount of values contained in another array
I’m trying to create a new array with the string being displayed in the same amount of values contained in another array. This should be easy, but I’m not getting the logic to create a new array and…
-
-1
votes1
answer98
viewsQ: How to divide a variable by the values of an array in php
I want to take the value of a variable and make a division by the first value in the array and the result divide by the next value until it reaches 1. I was able to do the division, but it is not…