I have got two page.
page a.php
page b.php
$row["url"],$row["title"] and $row["name"] are all query from mysql.
After b.php received the $_POST value from a.php, it combined to a new hyperlink with $row["title"]. When click this hyperlink, the new value with ".$row["name"]." in <UL> <LI>.
Now when the url change to b.php?id=".$row["url"].", the $_POST value from a.php lost. How to deal with this problem? Thanks.
page a.php
HTML:
<form action="b.php" method="post">
<input id="a1" type="text" value="keyword" name="a1" />
<input type="submit" value="post"/>
</form>
page b.php
HTML:
<a href="b.php?id=".$row["url"]."" target="_self" >".$row["title"]."'.$_POST["a1"].'</a>
<li>".$row["name"]."'.$_GET["id"].'</li>
$row["url"],$row["title"] and $row["name"] are all query from mysql.
After b.php received the $_POST value from a.php, it combined to a new hyperlink with $row["title"]. When click this hyperlink, the new value with ".$row["name"]." in <UL> <LI>.
Now when the url change to b.php?id=".$row["url"].", the $_POST value from a.php lost. How to deal with this problem? Thanks.