Plugin info

Total downloads: 1,662
Active installs: 10
Total reviews: 1
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 2
Last updated: 8/19/2014 (4202 days ago)
Added to WordPress: 8/19/2014 (11 years old)
Minimum WordPress version: 3.0
Tested up to WordPress version: f
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 4202 days ago • 1 reviews

22/100

Is SQL Table Lookup abandoned?

Possibly abandoned (last update 4202 days ago).

Compatibility

Requires WordPress: 3.0
Tested up to: f
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

No similar plugins found yet.

Description

You can use these SQL lookup shortcodes to extract data from any table in your WordPress database:

[sql query=”SELECT a FROM b WHERE c=’d’;”]

[sql]SELECT a FROM b WHERE c=’d’;[/sql]

[sql table=”b” unique_lookup_field=”c” lookup_value=”d” return_field=”a”]

If a table or column name has a space or other unusual character in it, wrap it in `backticks`. If a value contains a
space or other unusual characters, wrap it in ‘single quotes’.

While I’ve taken considerable effort to prevent SQL injection attacks by escaping all other dangerous characters with esc_sql (which uses mysql_real_escape_string/mysqli_real_escape_string and addslashes), I would advise against using this plugin on a site that accepts any kind of posts or comments from untrusted sources.

Installation

No installation instructions available

Frequently Asked Questions

No FAQ available

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

No changelog available