I have some entries in a database.
I pull from the database and just want to use the "id" numbers
For example: in the database i have 4 entries
so I will get the follow when pulling all the rows: "1 2 3 4"
I want to insert these so that it appears like the following in the code:
$q1 = $_POST['q1'];
$q2 = $_POST['q2'];
$q3 = $_POST['q3'];
$q4 = $_POST['q4'];
My best guess was: $q.$row->id = $_POST['q'.$row->id];
But I KNOW this is wrong.
Can someone correct it?