| | | | |
| | |
| PHP Code Flüsterer Registriert seit: 21.08.2005 Beiträge: 4682 PHP-Kenntnisse: Fortgeschritten | |
| | |
| Erfahrener Benutzer | Das hast du richtig verstanden. Für das konkrete Beispiel ist in_array sowieso unnütz. Man könnte direkt einen String- Vergleich machen. Grund: Du hast nur die Spalte "Description", daher auch eigentlich nur ein Element in $fetch (In Wahrheit zwei, aber lassen wir das). Für deine Anforderung könnte man mit substr_count() gucken oder mit strstr(). Da sind im Handbuch entsprechende Beispiele...
__________________ www.php-maven.org PHP und Maven vereint: Build/Deploy/Produktion/Konfiguration, Projekt Management, CI, PHPUnit, zahlreiche Frameworks Twitter @ https://twitter.com/#!/mepeisen und Facebook @ http://t.co/DZnKSUih |
| |
| Themen-Optionen | |
| Thema bewerten | |
|
|
Ähnliche Themen | ||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [Erledigt] Galerie Problem... | coraplanet | PHP Tipps 2008 | 4 | 06.06.2008 13:42 |
| Sessions Problem | StephenKing | PHP Tipps 2008 | 3 | 16.10.2007 08:30 |
| datensätze defekt oder problem mit dem einlesen? | Ministry | Datenbanken | 4 | 06.07.2006 18:42 |
| problem!!! | PHP Tipps 2006 | 6 | 08.02.2006 11:06 | |
| [Erledigt] wieder ein Problem bei phpmailer und smtp | PHP Tipps 2006 | 24 | 07.02.2006 01:07 | |
| [Erledigt] Problem bei Massenmails versenden mit der Funktion mail | PHP-Fortgeschrittene | 3 | 19.01.2005 13:36 | |
| [Erledigt] Problem mit Übergabe einer Klasse in PHP4 | PHP-Fortgeschrittene | 10 | 08.01.2005 21:00 | |
| Problem mit Weiterleitung | PHP Tipps 2004-2 | 16 | 22.12.2004 17:49 | |
| Smarty und PHP-Skript Problem | PHP Tipps 2004-2 | 2 | 03.12.2004 22:27 | |
| [Erledigt] PHP Upload (Master Value/Local Value Problem) | PHP-Fortgeschrittene | 5 | 23.11.2004 07:21 | |
| Problem mit alter JavaScript-Funktion | woods | PHP Tipps 2004 | 1 | 13.08.2004 13:34 |
| [Erledigt] Problem mit Timestamp! | PHP Tipps 2004 | 24 | 08.06.2004 19:51 | |
| Login Problem | PHP Tipps 2004 | 4 | 04.06.2004 18:46 | |
| foreach problem | mAy^daY | PHP Tipps 2004 | 3 | 02.06.2004 20:29 |
| Besucher kamen über folgende Suchanfragen bei Google auf diese Seite |
| in_array problem, substr_count in_array, in_array datenbank abfrage, mysql_fetch_array in_array php, mysql_fetch_array in_array, in_array in foreach problem, php in_array funkioniert nicht, javascript in_array, in_array problem mit strings, php in_array substr_count, in_array mit .*, nautilus softwaredesign |

Dieser Inhalt ist unter einer Creative Commons-Lizenz lizenziert.