1. I want select box to be replaced with Input box.
2. I want to enter value (title) input box instead selecting option (title) from drop downs select box.
Ramesh chaudharyPHP Code:
echo "<form action='" . $url . "' method='post' >";
[B] echo "<select name='add' id='add'";
foreach ($rows as $row)
{
echo "<option value='" .$row->url. "' /> ". $row->title;
}
echo "</select>";
[/B]
if ($image !=-1 )
{
if ($autodirect ==1)
echo "<input type='submit' ".$style." id='submit' name='submit' value='".$golabel."' />";
$image = 'images/stories/'.$image;
echo "<input type='image' " .$style." src='".$image."' id='submit' name='submit' alt='".$golabel."' />";
}
else
{
echo "<input type='submit' ".$style." id='submit' name='submit' value='".$golabel."' />";
}
echo "</form>";


Reply With Quote
Bookmarks