the code that you gave me worked, but for some reason the variable is just an empty string, do you know hot to correct this
<?
echo "<input type=hidden name=\"CatName\" value=\"".$result['CatName']."\">";
?>
heres the select statement im using,
<?php
$sql="SELECT CatID, CatName FROM Category WHERE FieldID=2 ORDER BY CatName";
$query=mysql_query($sql);
$result=mysql_fetch_array($query);
?>