hello frds i have to post the value of form along with showing last posted value on the same page while submiting the posted value.plz suggest me how to perform it thx
<?php while($cat = mysql_fetch_assoc($cats)) { if($cat[ID] == $fors[category]) echo '<option value="'.$cat[ID].'" selected="selected">'.$cat[title].'</option>'; else echo '<option value="'.$cat[ID].'">'.$cat[title].'</option>'; } ?> PHP: Is that what you mean?