rieccomi qua...sono riuscito a creare qualcosa che assomiglia ad un carrello...adesso mi interessava fare in modo di eliminare un oggetto dal carrello...vi posto il mio codice così potet darmi una mano...grazie ciao
Codice PHP:
<?php if (isset($_GET['joke'])): // If the user wants to add a joke ?>
<?php 
else: // Default page display

  // Connect to the database server
  
$dbcnx = @mysql_connect('localhost''root''');
  if (!
$dbcnx) {
    exit(
'

Unable to connect to the ' 
.
        
'database server at this time.</p>');
  }

  
// Select the jokes database
  
if (!@mysql_select_db('ecommerce')) {
    exit(
'

Unable to locate the utenti ' 
.
        
'database at this time.</p>');
  }

  
// If a joke has been submitted,
  // add it to the database.
  
if (isset($_POST['codice'])) {
    
$codice $_POST['codice'];
    
$carta $_POST['carta'];
    
$modello $_POST['modello'];
    
$email $_POST['email'];
    
$nome $_POST['nome'];
    
$cognome $_POST['cognome'];
    
$telefono $_POST['telefono'];
    
$indirizzo $_POST['indirizzo'];
    
    
$sql "INSERT INTO utenti SET
        codice='
$codice',
        carta='
$carta',
        modello='
$modello',
        email='
$email',
        nome='
$nome',
        cognome='
$cognome',
        telefono='
$telefono',
        indirizzo='
$indirizzo',
        data=CURDATE()"
;        
    if (@
mysql_query($sql)) {
      echo 
'











<h3>[b]La Tua Richiesta è Stata Elaborata con Successo[/b]</h3>
</p>'
;
    } else {
      echo 
'

Error adding submitted joke: ' 
.
          
mysql_error() . '</p>';
    }
  }

  echo 
'

</p>'
;

  
$query="select * from utenti order by modello";
$resultmysql_query($query);
$numfields mysql_num_fields($result);

echo 
"<table>\n<tr>";
for (
$i=0$i $numfields$i++) 
  { 
   echo 
'<th>'.mysql_field_name($result$i).'</th>'
   }
   echo 
"</tr>\n";
   
   while (
$row mysql_fetch_row($result)) 
  { 
   echo 
'<tr><td>'.implode($row,'</td><td>'). "</td></tr>\n"
  }
  echo 
"</table>\n";

  
// Display the text of each joke in a paragraph
  
while ($row mysql_fetch_array($result)) {
    echo 
'

$row['modello'] . '</p>';
  }

  
// When clicked, this link will load this page
  // with the joke submission form displayed.
  
echo '

<a href="' 
$_SERVER['PHP_SELF'] .
      
'?joke=1">
<div align="center">
  <h1>[b]---&gt; compra un prodotto &lt;--- [/b]
  </h1></a></p>'
;

endif;
?>
dimenticavo...tra la prima e la second riga c'è un'intera pagina html...nella pagina c'è un form da compilare con tutti i dati relativi all'oggetto che verranno poi inseriti nel database e visualizzati!non è il massimo ma è quello che sono riuscito a fare! ora mi interessava come eliminare gli oggetti dal carrello...