i have a problem when i want to validate using GET Method in fuelphp
i’m looking up in this documentation
// run validation on just post
if ($val->run())
{
// process your stuff when validation succeeds
}
else
{
// validation failed
}
that’s code only validate if the method is Post or default post.
how to validate method get?
To run the validation against an array:
Example: