2013/9/17 Ron Piggott
>
> I am wanting to establish a default sort by preference when the user
> hasn’t specified one. I setup to test this with:
>
>
> if ( !is_set( $sort_by_preference ) ) {
>
> $sort_by_preference = "government_wording";
>
> }
>
> ?>
>
> But I am receiving a Notice error:
I am wanting to establish a default sort by preference when the user hasn’t
specified one. I setup to test this with:
But I am receiving a Notice error:
Notice: Undefined variable: sort_by_preference in GIFI_codes.php on line 11-
Line 11 is “if ( !is_set( $sort_by_preference ) ) {“What is
On Tue, Sep 17, 2013 at 3:38 PM, Ron Piggott
wrote:
>
> I am wanting to establish a default sort by preference when the user hasn’t
> specified one. I setup to test this with:
>
>
> if ( !is_set( $sort_by_preference ) ) {
Did you create a function is_set(), or did you mean to use the
const
3 matches
Mail list logo