How can I take many integers from a form post and put them into an array? But that array as a variable after which I foreach .. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can I take many integers from a form post and put them into an array? But that array as a variable after which I foreach ..

I sometimes struggle with arrays. I want to get several character_id integers from a form and then put them into an array and variable, just one variable! Then afterwards in a view foreach loop a function for each integer in that array.

16th Jan 2020, 5:17 PM
⊹≒tɧε8шσσɖɕนttεг≓⊹
⊹≒tɧε8шσσɖɕนttεг≓⊹ - avatar
6 Answers
0
It looks like efficiency is the problem. Review your constructs & darastructs concepts
22nd Jan 2020, 3:36 AM
Da2
Da2 - avatar
+ 2
Do Linked List aalgoritms next.
24th Jan 2020, 7:12 AM
Da2
Da2 - avatar
+ 2
Data Structure
24th Jan 2020, 8:23 AM
Da2
Da2 - avatar
+ 1
Okay thnx. Since I practiced arrays, along with encoding, today I feel much better about arrays.
22nd Jan 2020, 6:30 AM
⊹≒tɧε8шσσɖɕนttεг≓⊹
⊹≒tɧε8шσσɖɕนttεг≓⊹ - avatar
+ 1
Da2 what are those? Should I study them?
24th Jan 2020, 7:46 AM
⊹≒tɧε8шσσɖɕนttεг≓⊹
⊹≒tɧε8шσσɖɕนttεг≓⊹ - avatar
0
Oh ok I was reading about that earlier
24th Jan 2020, 5:15 PM
⊹≒tɧε8шσσɖɕนttεг≓⊹
⊹≒tɧε8шσσɖɕนttεг≓⊹ - avatar