How to Post variables to url using function in php?
basically if we want to pass post variable to a url using php we add
<form action="url">
</form>
But i want to pass it to url using function
for eg
function manish($_POST)
{
$url="https://example.com?";
$url.=$url.$_POST;
}
any idea how to do this?