Suche: Wildcards

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Thorsten
Posts: 15759
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hallo Frank,

kannst du mal testen, ob das so klappt:

Code: Select all

    if (mysql_check("4.0.1") == FALSE) {
        // Search with MySQL 3.23.23+
        $query = "SELECT id, lang, rubrik, thema, content FROM ".$sqltblpre."faqdata WHERE MATCH (thema,content,keywords) AGAINST ('".$begriff."') AND active = 'yes'";
        }
    else {
        // Search with MySQL 4.0.1+
        $query = "SELECT id, lang, rubrik, thema, content FROM ".$sqltblpre."faqdata WHERE MATCH (thema,content,keywords) AGAINST ('".str_replace(" ", "* ", trim($begriff))."*' IN BOOLEAN MODE) AND active = 'yes'";
        }
Ich hab hier leider keine MySQL 4 DB zur Verfügung.

Danke + bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
fwhamm
Posts: 38
Joined: Mon Oct 06, 2003 10:07 am
Contact:

Post by fwhamm »

Hallo Thorsten
Thorsten wrote:kannst du mal testen, ob das so klappt:
[...]
Ich hab hier leider keine MySQL 4 DB zur Verfügung.
Kein Problem, mache ich gerne...

Ergebnis: Funktioniert einwandfrei: http://mitglied.lycos.de/fwhamm/glossar.jpg

Oh Mann! Wenn ich mir deinen Code ansehe, wird mir klar wie verdreht ich gedacht habe und dementsprechend auch mein Code verdreht ist :lol:

Kannst jederzeit wieder auf mich für solche Sachen zurückkommen.

Ich werde das phpMyFAQ nächste Woche hier im Intranet der Bank einführen. Los geht es zunächst mit einem Speiseplan Glossar. In unserer Bank sind halt noch viele "konservative" Leute, die mit Begriffen aus der exotischen Küche nichts anfangen können.

Danach geht es dann weiter mit bankfachlichen Glossaren und FAQ's. Für uns in IT gibt es noch ein FAQ für den Support.

Grüße
Frank
Last edited by fwhamm on Fri Oct 24, 2003 9:28 am, edited 1 time in total.
- Live long and prosper!
- Query frontend for LDAP Server?
=> MpLDAP!
Thorsten
Posts: 15759
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi Frank,

darf man erfahren, um welche Bank es sich handelt? :)

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
fwhamm
Posts: 38
Joined: Mon Oct 06, 2003 10:07 am
Contact:

Post by fwhamm »

Hallo Thorsten,
Thorsten wrote:darf man erfahren, um welche Bank es sich handelt? :)
Na Klar: Aareal Bank AG (ehemals BauBoden Bank, ehemals eine Anstalt öffentlichen Rechts :-)

Ist eine Spezialbank rund um Immobilienfinanzierung, allerdings fast nur für kommerzielle Kunden. Inkl. Komplettangebote von der Projektierung, Entwicklung und Finanzierung von Großimmobilien in dreistelliger Millionenhöhe. Z.B. Einkaufsmalls, Bürokomplexe.

http://www.aareal-bank.com/

Grüße
Frank
- Live long and prosper!
- Query frontend for LDAP Server?
=> MpLDAP!
Thorsten
Posts: 15759
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi Frank,

interessant, wer so inzwischen alles freie Software einsetzt! :)

Danke für die Nutzung der FAQ!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply