Support » Fixing WordPress » meta post search

Viewing 1 replies (of 1 total)
  • Scott Fennell


    There’s a lot going on there and I’m not sure what you’re trying to accomplish.

    Two things though…

    1) Do you think it would be a good idea to sanitize the $_GET variables before using them in a database query?

    2) You seem to have a habit of trying to do things with variables before checking if they exist. For example, if $advtext does not yet exist, then advtext!="" is going to throw an error.

Viewing 1 replies (of 1 total)
  • The topic ‘meta post search’ is closed to new replies.