Title: Multiple Entry Shortcode
Last modified: January 11, 2017

---

# Multiple Entry Shortcode

 *  [Dr. Deb Talukdar, M.D](https://wordpress.org/support/users/devndel/)
 * (@devndel)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/multiple-entry-shortcode/)
 * I would be glad if you could provide me the shortcode for your abase plugin to
   search multiple variables.
 * Eg: Instead of entering only one variable in the search textbox i.e Richard
 * What’s the shortcode for multiple variables i.e Richard, Dennis, Cedric, Kath
   etc
 * Hope you would reply soon.
 * Thanks
    -  This topic was modified 9 years, 4 months ago by [Dr. Deb Talukdar, M.D](https://wordpress.org/support/users/devndel/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [paulbeck](https://wordpress.org/support/users/paulbeck/)
 * (@paulbeck)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/multiple-entry-shortcode/#post-8654887)
 * If you are familiar with SQL, you can do that directly as follows:
 * [abase sql=’select cultivar,hybrid from asa_plants where cultivar in (“Carolyn”,”
   Bob Stewart”)’]
 * The above is a query from my database, obviously, but yours should be similar.
   Note that the text from the search field will need to be enclosed in double quotes,
   as shown, and the whole query in single quotes.
 * Note that abase does not work with PHP 7. I have a fix for that if you are interested.
 *  [paulbeck](https://wordpress.org/support/users/paulbeck/)
 * (@paulbeck)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/multiple-entry-shortcode/#post-8654893)
 * What are plugin are you using to generate the search form?
 *  Thread Starter [Dr. Deb Talukdar, M.D](https://wordpress.org/support/users/devndel/)
 * (@devndel)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/multiple-entry-shortcode/#post-8692930)
 * Thanks Paul. I am using Abase plugin to generate search form. Here is the link
   to plugin – [https://wordpress.org/plugins/abase/](https://wordpress.org/plugins/abase/).
   But, unfortunately the SQL query you mentioned won’t help me as I want a text
   box where people will enter search text 1 every line and it would search from
   my database and display the results.
 * JUST LIKE THIS –
 * USNLE
    JFHK8 K3JFHR FHFHE
 * THE LIST CAN GO ON. IT SHOULD SHOW THE RESULTS ACCORDINGLY. I DON’T WANT THE 
   SQL QUERY BUT SHORTCODE USING ABASE PLUGIN OR ANY OTHER PLUGIN WHICH CAN DO THIS.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Multiple Entry Shortcode’ is closed to new replies.

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

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [multiple](https://wordpress.org/support/topic-tag/multiple/)
 * [MySQL](https://wordpress.org/support/topic-tag/mysql/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 3 replies
 * 2 participants
 * Last reply from: [Dr. Deb Talukdar, M.D](https://wordpress.org/support/users/devndel/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/multiple-entry-shortcode/#post-8692930)
 * Status: not resolved