0

hi all,
i have two form in php like this

<form name="az" method="post" action="add.php">
<select name="category" id="category">;
 <?PHP
echo "<option value=default>birini sec</option>";
@$db=mysql_connect('localhost','uname','pass');
mysql_select_db(db);
$sorgucat=mysql_query("select * from category");
while($satircat=mysql_fetch_row($sorgucat))
{
echo "<option value=\"$satircat[1]\">$satircat[1]</option>";
}
?>
</select>
</form>

and other is

<form name="az1" method="post" action="del.php">
<input type="submit" value="del" name="del">
</form>

i would like to delete category which is situated at the first form via delete button which is at the second form

but i need to get value with help of $_POST superglobal of the first form select option value from second form
is it possible? if possible pls help
thanks for attention

Edited by azegurb: n/a

2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by nonshatter
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.