tie the back end into a database that populates the form based on numbers, and text. On the back end have it do a for each output, and hidden if the variables are filled in, but others are blank. I did one of those a few years ago.
Am I missing anything for my variable security statement?
foreach( $_GET as $key => $value){
$_GET["$key"]=mysql_real_escape_string($value) ;
}
foreach( $_POST as $key => $value){
$_POST["$key"]=mysql_real_escape_string($value) ;
}
How would I reverse it on the output side?
Yes, page will be a rational number, and doing an include within an include, like 3.1, and 3.2 would be elements of 3.
I was trying both ways, and displaying the code for the types of things I tried.
It's still in the range.
I'm stumped on how to convert the if statement to a case statement
if ($page>=3 && $page<4)
case (>='3' && <'4'):
It's doing the block inside when the case variable isn't set.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.