Mathias Brodala: Preg_Match

Beitrag lesen

Hallo Jani.

Die Preg_Match-Funktion wollte ich zb für Kontaktformulare nutzen.

Ungeachtet deines Vorhabens:

zb solche Standart dinger wie: enthält das Kontakt-Feld "Email" die Eingabe '@' und '.'.

Dies lässt sich alles ohne weiteres mit strpos und ggf. strrpos bewältigen.

Einen schönen Dienstag noch.

Gruß, Mathias

--
sh:( fo:} ch:? rl:( br: n4:~ ie:{ mo:| va:) de:> zu:} fl:( ss:) ls:[ js:|
„It is required that HTML be a common language between all platforms. This implies no device-specific markup, or anything which requires control over fonts or colors, for example. This is in keeping with the SGML ideal.“
[HTML Design Constraints: Logical Markup]