Mbe: [MySQL] Jeweilige Zeile mit Button updaten

Beitrag lesen

Mein fehlendes Wissen, schätze ich mal ^^
Wie würde das genau funktionieren? Hab das noch nie gemacht...

Wie gibst du denn jetzt deine "Kopien" aus?

So:

  
  
while($row = mysql_fetch_object($result))  
        {  
      	 	echo "  
		<table width='100%' class='output_table'>  
  		<tr>  
	  
		<td width='4%'>  
		<input type='text' style='width: 100%;' class='output_c_date' name='outputfield_c_date' value='$row->c_date'>  
		</td>  
  
		<td width='30%' title='$row->task'>  
		<input type='text' style='width: 100%;' class='output_task' name='outputfield_task' value='$row->task'>  
		</td>  
  
		<td width='20%' title='$row->proj'>  
		<input type='text' style='width: 100%;' class='output_project' name='outputfield_project' value='$row->proj'>  
		</td>  
  
		<td width='16%' title='$row->cust'>  
		<input type='text' style='width: 100%;' class='output_customer' name='outputfield_customer' value='$row->cust'>  
		</td>  
	  
		<td width='5%' align='center'>  
		$row->cl  
		</td>  
	  
		<td width='5%'>  
		<input type='submit' name='change' value='Bearbeiten' style='width: 100%;'>  
		</td>  
		</tr>  
		</table>  
";  
  

$result in der while ist eine procedure, die per SELECT die Daten für die Felder ausgibt.