Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Empfohlene Antworten

Veröffentlicht

Hallo zusammen =)

Wie man Daten aus einer Datenbank sortiert, sollte ja kein Problem sein. Ich hab nun allerdings ein paar Abfragen bzl. Straßen, Ortsteilen, etc. via Arrays (die mir auch die gewünschten Ergebnisse liefern) und wenn ich die ausgebe, dann werden mir die Ortsteile alle zusammenhängend angezeigt (also abc in xy def in xy), gibt es da eine Möglichkeit die zu ordnen (also abc in xy und ghi in st)?

Via google bin ich immer nur auf rand() gekommen, was aber nicht so recht funktionieren will.

Ich hoffe, ich konnte mein Problem verständlich rüberbringen ;)

Ist das nun ein Datenbank oder Coldfusion Problem?

"rand" hat meistens etwas mit "random", sprich Zufallszahlen zu tun.

Bei Datenbankproblem: Sortierung kann man auch über mehrere Felder via SQL durchführen

  • Autor

ich glaube, ich bin das Problem ;)

Nee, mal ehrlich, liegt wohl eher an CF/SQL. Wollte via Zufallszahl die abgefragten Arrays willkürlich ausgeben lassen und halt eben nicht nach Ortsteil sortiert.

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.