hello everybody
upload.php
codice:
$uploadtypes = sql_query("SELECT id, name FROM categ_add_feat WHERE pid$i111=1 ORDER BY name ASC");
while ($row = mysql_fetch_array($uploadtypes))
print("<tr><td align=\"right\">".$row["name"]."</td><td> - <input type=\"text\" value=\"scaf".$row["id"]."\" name=\"scaf".$row["id"]."\" size=\"80\" /></td></tr>");

takeupload.php
codice:
$uploadtypes = sql_query("SELECT id, name FROM categ_add_feat WHERE pid$i111=1 ORDER BY name ASC");
while ($row = mysql_fetch_array($uploadtypes))
$aaaa=print("".$row["name"]." - ".$_POST["scaf".$row["id"].""]."
");

can you please tell me how can i save all results of this code
codice:
$uploadtypes = sql_query("SELECT id, name FROM categ_add_feat WHERE pid$i111=1 ORDER BY name ASC");
while ($row = mysql_fetch_array($uploadtypes))
in one $aaaa to insert in it mysql db
because when i write
codice:
$aaaa=print("".$row["name"]." - ".$_POST["scaf".$row["id"].""]."
");
i get get the results printed on page
but i need it to be saved as $aaaa and then to insert the results in db
can you give me a tip?? please ....
CAN U PLEASE ADVISE ME WHAT DO I NEED TO USE INSTEAD OF PRINT