Folgende Abfrage funktioniert nicht..warum?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Folgende Abfrage funktioniert nicht..warum?

    PHP Code:
    select subject from messages where subject like "[*"
    will alle subjects die mit "[" anfangen abfragen...bekomme aber nichts zurück!

    oder wie fragt man ein teilstring ab?
    zb: subject = "[HASE] Hallo Welt..."
    jetzt will ich alle subjects die "HASE" enthalten abfragen...

  • #2
    Ersetz mal den Stern durch ein %.

    Gruß
    Mario

    Comment


    • #3
      Re: Folgende Abfrage funktioniert nicht..warum?

      http://dev.mysql.com/doc/refman/4.1/...functions.html
      I don't believe in rebirth. Actually, I never did in my whole lives.

      Comment

      Working...
      X