• Resolved Freewolf

    (@freewolf)


    Not sure if anyone here can help point me in the right direction. Rather new to WordPress Development.

    I have got the Ajaxize working with a query from the database doing within a particular function.

    Where can I find information about having a drop down menu that the user would select options from changing the result set of the query based on the user feedback.

    Drop Down with options 1, 2 and 3.
    $sql = SELECT * FROM myTable WHERE column = 2.

    Can something like this work with Ajaxize and how would I go about doing it?

    Or is there another plugin that would be better for something like this?

    I am not interested in something that will query posts or tags or something but custom data from the database outside the typical scope of wordpress.

    https://wordpress.org/plugins/ajaxize/

Viewing 1 replies (of 1 total)
  • Plugin Author yoav.aner

    (@yoavaner)

    Passing parameters to functions is explicitly not supported (see the FAQ).

    If you need to pass parameters to functions, you’re probably better off building it yourself.

    Be careful about passing parameters from the user to any SQL queries though, or you might expose yourself to SQL injection.

Viewing 1 replies (of 1 total)
  • The topic ‘User Input for Functions’ is closed to new replies.