Visualizzazione dei risultati da 1 a 2 su 2
  1. #1

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

    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 ....
    http://wtg21.com

  2. #2
    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
    http://wtg21.com

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.