<b>REGISTER</b>

GFX-Sector - PHP, MySQL


 
GFX-Sector » Coding Area » Webentwicklung » PHP, MySQL » MYSQL Tabelle - Problem » Hello Guest [Login|Register]
Last Post | First Unread Post Print Page | Recommend to a Friend | Add Thread to Favorites

PHP, MySQL

Themen rund um die serverseitige Programmierung mit PHP in Verbindung mit der Datenbanksoftware MySQL
Post New Thread Post Reply

MYSQL Tabelle - Problem

     Deutsche Version  English version
Author
Post « Previous Thread | Next Thread »

cheahzle cheahzle is a male
Love it!


cheahzle hat kein Avatar

Registration Date: 23.12.2007
Posts: 290
Location: Düsseldorf

Spacer
MYSQL Tabelle - Problem

MYSQL Tabelle - Problem

      

Hallo.
Ich habe folgendes Problem oder denkfehler.
Ich habe ein Tabell mit 4 Spalten erstellt (ID, Syntax, Bedeutung, Beispiel).
ID zählt automatisch pro Zeile hoch d.h. 1,2,3 ... .
Syntax soll Begriffe enthalten wie zum Beispiel gibFrei (Java).
=> Problem: ich möchte, dass die Syntax-Begriffe alhabetisch sortiert werden, ID soll aber trotzdem normal weiterlaufen. d.h. wenn ich nachträglich was hinzufüge sollen ID weiterraufzählen jedoch soll ein begriff zum beispiel aabb an Stelle (ID) 1 stehen.

Ich weiß gerade nicht wie ich das machen soll Baby
Ich hoffe mir kann jemand helfen ...

Gruß Dario
MYSQL Tabelle - Problem 25.01.2009 14:19 cheahzle is offline Search for Posts by cheahzle

RedFox RedFox is a male
Buntstiftmaler


Avatar von RedFox

Registration Date: 26.01.2008
Posts: 76

Spacer
      

ORDER BY ASC

MYSQL Tabelle - Problem 25.01.2009 15:02 RedFox is offline Search for Posts by RedFox

Mantus Mantus is a male
Pixelvirtuose


Avatar von Mantus

Registration Date: 22.02.2008
Posts: 1,631
Location: Deutschland
Program: Photoshop CS2

Spacer
      

Um das von RedFox etwas zu verdeutlichen.
Du brauchst die Daten in der DB-Tabelle nicht alphabetisch sortieren.

Es reicht wenn du bei der abfrage ein "ORDER BY syntax ASC" machst.
Damit sortiert er automatisch alles nach alphabet und fängt bei "a" an.

Hoffe ich konnte helfen,..






Danke Oromir!!



MYSQL Tabelle - Problem 25.01.2009 17:24 Mantus is offline Search for Posts by Mantus

cheahzle cheahzle is a male
Love it!


cheahzle hat kein Avatar

Registration Date: 23.12.2007
Posts: 290
Location: Düsseldorf

Thread Starter Thread Started by cheahzle
Spacer
      

Danke ihr beiden. Naja ich hab es vor zwei minuten selbst rausgefunden lol hatte garnicht dran gedacht hier vorbeizuschaun. Auf jedenfall vielen Dank smile

MYSQL Tabelle - Problem 25.01.2009 18:00 cheahzle is offline Search for Posts by cheahzle
 
Spacer
   
GFX-Sector
unregistered


 hat kein Avatar


Spacer

Have you enjoyed this topic?


If you were enjoying this post and if you keen on reading more interesting stuff then do not hesitate to complete the free sign up.

After the free registration you will gain access to all areas and you will be able to communicate with other artists from all over the world.

In addition you will benefit from our Photoshop and coding section as well as from our huge (hundreds of gigabytes) free resource section where you can find everything you will need to be a successful (web) designer/artist.

Sign up now and enjoy the advantages as a registered member.

(This website will be ad-free after a complete free sign up.)

New Post 25.01.2009 18:00  
Tree Structure | Board Structure
Post New Thread Post Reply
GFX-Sector » Coding Area » Webentwicklung » PHP, MySQL » MYSQL Tabelle - Problem

Similar topics to MYSQL Tabelle - Problem
Thread
kleines problem mit maus und tastatur (Forum: Archiv)
[Frage] Nur Probleme mit PS CS4 (Forum: Fragen & Probleme)
Kleines Problem (Forum: Fragen & Probleme)
Laptopdarstellung/grafikeigenscahften[Problem] (Forum: Multimedia)
Problem (Forum: Feedback)