Title: User Input for Functions
Last modified: August 22, 2016

---

# User Input for Functions

 *  Resolved [Freewolf](https://wordpress.org/support/users/freewolf/)
 * (@freewolf)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/user-input-for-functions/)
 * 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/](https://wordpress.org/plugins/ajaxize/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [yoav.aner](https://wordpress.org/support/users/yoavaner/)
 * (@yoavaner)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/user-input-for-functions/#post-5327935)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/ajaxize.svg)
 * [Ajaxize](https://wordpress.org/plugins/ajaxize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ajaxize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ajaxize/)
 * [Active Topics](https://wordpress.org/support/plugin/ajaxize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ajaxize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ajaxize/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [yoav.aner](https://wordpress.org/support/users/yoavaner/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/user-input-for-functions/#post-5327935)
 * Status: resolved