Hi thanx a lot that worked. Im now having another problem when retrieving the client id from my list box. I use this to list my clients and push them to edit.
<form action="edit-client.inc.php" method="get">
<?php
require '../include/config.php';
$query = 'SELECT Client_ID, Last_Name, First_Name FROM client group by Last_Name asc';
$result = @($query) or die('<p>Sorry, no data to edit...</p>');
?>
</p>
<p>
<select name="Client_ID" id="selectClient">
<?php
while($row=mysql_fetch_assoc($result)) printf("\t<option value=\"%d\">%s, %s</option>\n",$row['Client_ID'],$row['Last_Name'],$row['First_Name']);
?>
</select>
</p>
<input type="submit" value="Submit record for editing" />
</form>[/COLOR]
When sending this to be edited I can identify the client_id has been passed as it shows it in the browser but all my clients are listed at once to be edited when i just need the client linked to that specific ID. I assume its a problem with edit script as shown above and is not correctly recognising the id. Any further help will be appreciated. Thank You.