Hi all,
Here is my problem. I'm building the data entry section for a project and allows the users to enter multiple records into the database from one form. They go into the backend and are prompted on how many records they want to enter
I name the fields in the one big form by conocating strings inside a loop
eg(
for (x=1; $x <= numrows_to_add; $x++) {
$value ='value.$x';
}
I was wondering of there was a way to get vaules of there variables with out manual entering everyone inside a huge if statement
like this
if (($value1)) {
Add($value1);
}
if (($value2)) {
Add($value2);
}
.. ect
I want to put the create the variable name in a loop for insertion and have them hold the oringal values
Can anyone help