Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
Beide Seiten, vorherige ÜberarbeitungVorherige ÜberarbeitungNächste Überarbeitung | Vorherige Überarbeitung | ||
playground:playgrounddb [2020/07/28 16:45] – admin | playground:playgrounddb [2020/12/01 08:09] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | <php> | ||
// load the helper plugin | // load the helper plugin | ||
/** @var helper_plugin_sqlite $sqlite */ | /** @var helper_plugin_sqlite $sqlite */ | ||
Zeile 10: | Zeile 11: | ||
// initialize the database connection | // initialize the database connection | ||
- | if(!$sqlite-> | + | if(!$sqlite-> |
return; | return; | ||
} | } | ||
+ | |||
// use the plugin | // use the plugin | ||
- | $res = $sqlite-> | + | $res = $sqlite-> |
$arr = $sqlite-> | $arr = $sqlite-> | ||
- | print_r($val); | ||
- | | ||
- | // | ||
- | //{ | ||
- | // print_r($val); | ||
- | //} | ||
- | < | + | foreach |
- | phpinfo(); | + | { |
- | </ | + | |
- | <php> | + | |
- | // load the helper plugin | + | var_dump($val); |
- | /** @var helper_plugin_sqlite | + | |
- | $sqlite = plugin_load(' | ||
- | |||
- | if(!$sqlite){ | ||
- | msg(' | ||
- | return; | ||
} | } | ||
- | |||
- | // initialize the database connection | ||
- | if(!$sqlite-> | ||
- | return; | ||
- | } | ||
- | // use the plugin | ||
- | $res = $sqlite-> | ||
- | |||
- | $arr = $sqlite-> | ||
- | print_r($val); | ||
- | | ||
- | // | ||
- | //{ | ||
- | // print_r($val); | ||
- | //} | ||
</ | </ | ||
- | |||
- | |||
- |