Is there an easier way to return to a previous page where you are passing variables instead of passing them to the next page and then passing them back?
seems really tedious if you passing several variables to between pages.
Example:
Page1:
<a href='page2.php?a=1&b=1&c=3'>click</a>
Page2:
<?php
$a1=$_GET['a'];
$b1=$_GET['b'];
$c1=$_GET['c'];
...
some code
...
header(Refresh: 5; URL='page2.php?a='.$a1.'&b='.$b1.'&c='.$c1);
seems really tedious if you passing several variables to between pages.
Example:
Page1:
<a href='page2.php?a=1&b=1&c=3'>click</a>
Page2:
<?php
$a1=$_GET['a'];
$b1=$_GET['b'];
$c1=$_GET['c'];
...
some code
...
header(Refresh: 5; URL='page2.php?a='.$a1.'&b='.$b1.'&c='.$c1);