How to Ignore query string in a URL?
Posted
by jartaud
on Stack Overflow
See other posts from Stack Overflow
or by jartaud
Published on 2010-06-15T23:35:32Z
Indexed on
2010/06/15
23:42 UTC
Read the original article
Hit count: 242
Hello I have something like this:
if(isset($_POST['btnProm'])){
$idads = mysql_real_escape_string($_POST['idAds']);
require_once("adPromFrm.php");
}
When a button is pressed, a form will appear....
When i refresh the page, the form doesn't disappear, but when i click a link with a query string (thisPage.php?lang=fr...), the form disappears.
I know i m asking the form only if the button is pressed, but how can i ignore the query string.
© Stack Overflow or respective owner