I have following problem and don't know how to fix it:
I want when user open php page to be loaded some data from MySQL datebase to that page , and it is working perfect but i also added two checkboxes for user to check if he wants to upload those data to another datebase and there i have problem.
Because number of entries in datebase is not static so i can't know how much i need fields in the main page, so i decided to use hidden fields and to save there copy of every data that is red from DB, and what i want it is to gave names of the hidden fields from variable. I mean i have while loop which is repeating untill all lines from DB is red (So if i have 5 lines loop will repeat 5 times , and soo on) and every time variable which i use to check if condition is satisfied for while loop is incrised and i want that variable to be name of hidden field and not sure how to make it.
i tried something like this:
Code: Select all
echo "<input name='hidden".$variable."' type='hidden' value='Blablabla'>";So pleaseeeee help
Tnx in advance