ciao a tutti


Codice PHP:
$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 PHP:
$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 PHP:
$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 ....