NAVIGATION
This shows you the differences between two versions of the page.
|
deutsch:technik:aufruf-interner-funktionen:db-abfrage_mit_dbquery [2010/10/20 08:18] Knut Heermann (flip-flop) |
deutsch:technik:aufruf-interner-funktionen:db-abfrage_mit_dbquery [2018/06/03 18:08] (current) |
||
|---|---|---|---|
| Line 29: | Line 29: | ||
| \\ | \\ | ||
| - | ===== Angepasster Tabellenauszug: ===== | + | ==== Angepasster Tabellenauszug: ==== |
| ^country_id ^ country_iso ^ country_iso3 ^ country_isonum ^ country_continent_code ^ country_name ^ country_continent ^ | ^country_id ^ country_iso ^ country_iso3 ^ country_isonum ^ country_continent_code ^ country_name ^ country_continent ^ | ||
| Line 52: | Line 52: | ||
| \\ | \\ | ||
| - | ===== Script V1.0: ===== | + | ==== Script V1.0: ==== |
| **Datei:** template/frontend_remder/rt_example_db_query00.php | **Datei:** template/frontend_remder/rt_example_db_query00.php | ||
| Line 154: | Line 154: | ||
| \\ | \\ | ||
| - | ===== Ergebnis: ===== | + | ==== Ergebnis: ==== |
| **TAG:** {DB-QUERY} z.B. im CP "Einfacher Text". | **TAG:** {DB-QUERY} z.B. im CP "Einfacher Text". | ||
| Line 164: | Line 164: | ||
| ~~UP~~ | ~~UP~~ | ||
| - | ===== Script V1.1: ===== | + | ==== Script V1.1: ==== |
| **Mit Parameterübergabe** z.B. **{DB-QUERY:EU}**, Ergebnis siehe oben. | **Mit Parameterübergabe** z.B. **{DB-QUERY:EU}**, Ergebnis siehe oben. | ||
| Line 300: | Line 300: | ||
| Falls die Daten von einer Benutzereingabe kommen, müssen diese Daten sehr tief geprüft werden :!: :!:** | Falls die Daten von einer Benutzereingabe kommen, müssen diese Daten sehr tief geprüft werden :!: :!:** | ||
| </note> | </note> | ||
| + | |||
| + | ~~UP~~ | ||
| \\ | \\ | ||
| - | ====== Beispiel 02: ====== | + | ===== Beispiel 02: ===== |
| **Kundendatenbank:** | **Kundendatenbank:** | ||
| Line 335: | Line 337: | ||
| </code> | </code> | ||
| - | + | \\ | |
| - | ===== Script 1.2: ===== | + | ==== Script V1.2: ==== |
| **Datei:** template/inc_script/frontend_render/rt_example_db_query02.php | **Datei:** template/inc_script/frontend_render/rt_example_db_query02.php | ||
| Line 396: | Line 398: | ||
| // --- Test | // --- Test | ||
| - | // dumpVar($kind); | + | // dumpVar($select_kind); |
| IF (!$error_flag) { | IF (!$error_flag) { | ||
| Line 462: | Line 464: | ||
| \\ | \\ | ||
| - | ===== Frontend: ===== | + | |
| + | ==== Ergebnis: ==== | ||
| Z.B. mit dem Aufruf in einem HTML-CP | Z.B. mit dem Aufruf in einem HTML-CP | ||