print("".$row["name"]." - ".$_POST["scaf".$row
Posted: Thu Oct 23, 2008 8:48 am
ciao a tutti 
can you please tell me how can i save all results of this code
in one $aaaa to insert in it mysql db
because when i write 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 ....
Code: Select all
$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"].""]."<br />");can you please tell me how can i save all results of this code
Code: Select all
$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
Code: Select all
$aaaa=print("".$row["name"]." - ".$_POST["scaf".$row["id"].""]."<br />");but i need it to be saved as $aaaa and then to insert the results in db
can you give me a tip?? please ....