print("".$row["name"]." - ".$_POST["scaf".$row["id"

SuPeRdUrIk

Nuovo Utente
23 Ott 2008
1
0
0
ciao a tutti :)


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"].""]."<br />");

can you please tell me how can i save all results of this code
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
PHP:
$aaaa=print("".$row["name"]." - ".$_POST["scaf".$row["id"].""]."<br />");
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 ....
 

Discussioni simili