| Versionen | |
|---|---|
| drupal6 – drupal7 | actions_load($aid) |
Retrieve a single action from the database.
$aid integer The ID of the action to retrieve.
The appropriate action row from the database as an object.
includes/
<?php
function actions_load($aid) {
return db_fetch_object(db_query("SELECT * FROM {actions} WHERE aid = '%s'", $aid));
}
?>
Kommentare
Kommentar hinzufügen