Hey guys
Slightly lost on how to do this one. Im trying to make a function which will insert data into a MySQL table. But im trying to make it universal, so i can use the same function for any part of the application, so theres only one mysql query i need to secure, rather then hundreds across the entire site.
I know how i can make it go to the right table and such, my problem is how do i make it add the array of values to insert, when i have no idea how long it will be?
Struggling to find a clear method online