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

Yes, this is possible through the use of sessions.

Have a look here:

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.