I have error when send data to database.
First I have URL like:
www.domain.com/container.php?fun=olmaa
and after send data, the URL is as below:
www.domain.com/container.php?fun=olmaa&sent=yes
But, when send again it looks like:
www.domain.com/container.php?fun=olmaa&sent=yes&sent=yes
Why insert &sent=yes
again ??
My code is:
$url = "http". ((!empty($_SERVER['HTTPS'])) ? "s" : "") . "://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
header('Location: '.$url."&sent=yes");
Thank You