Not a developer? Go to MovableType.com

Plugin and Theme Directory

SQL v2.0

By Brad Choate
Posted November 30, 2002, in MT Tags, Templates, Widgets.

Details

The MTSQL tag can use SELECT statements like MySQL and PHP statements can.

<MTSQLEntries query="select entry_id from mt_entry
where entry_title like '%Movable Type%'">
<a href="<MTEntryLink>"><MTEntryTitle></a><br />
</MTSQLEntries>

Compatibility

Movable Type versions: 4.3


Back