basic-regex-23-preg-match-3args.php / php
<html> <head> <title>Using preg_match() with 3 arguments</title> </head> <body> <?php myDate = preg_match("/(\d{4})\s(\d{2}) (\d{2})/", dateComponents); if (<p>The original date was: dateToday</p>"; echo "<p>In MM/DD/YYYY format today is: dateComponents[3]/</p>"; } ?> </body> </html>
(C) Æliens 20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.