[FX.php List] $_GET won't GIT

Jonathan Schwartz jschwartz at exit445.com
Fri Jan 18 07:59:43 MST 2008


At 6:22 PM -0800 1/17/08, John Moed wrote:
>Jonathan,
>
>Could you send the lines that you are using for $_Get and $_Post?


It appears that the problem *WAS* due to the use of the action="" 
statement.  After replacing with action="thispage.php", the previous 
$_GET results stopped appearing in the results of the $_POST page.


For what it is worth, here is the code i am using to test for $_GET. 
It is a home grown next/prev function.


if(isset($_GET['skip']))
{
if($_GET['skip'] == "Previous")
{
if($_SESSION['skiprecordsize'] > 0) {

$_SESSION['skiprecordsize'] = $_SESSION['skiprecordsize'] - 1;
}else{
$_SESSION['skiprecordsize'] = 0;
}
}

if($_GET['skip'] == "Next")
{


//if($_SESSION['skiprecordsize'] < $searchResult['foundCount'])
//{
$_SESSION['skiprecordsize'] = $_SESSION['skiprecordsize'] + 1;
//}else{
//$_SESSION['skiprecordsize'] = $searchResult['foundCount'];
//}
}
}


Jonathan


-- 
Jonathan Schwartz
Exit 445 Group
jonathan at exit445.com
http://www.exit445.com
415-381-1852


More information about the FX.php_List mailing list