[PHP] Convert dates

2002-11-29 Thread Sturle
Is there a way to convert a date 2002-11-29 00:00:00:000to 29 November 2002
.

  Sturle




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] preg_match()

2002-12-02 Thread Sturle
Hello

I have one coloumn with lots of e-mail adress like this:

[EMAIL PROTECTED];[EMAIL PROTECTED];[EMAIL PROTECTED]
[EMAIL PROTECTED];[EMAIL PROTECTED];[EMAIL PROTECTED]
[EMAIL PROTECTED]

And i want to take the first row and put the adresses into an array, then
the second row...

I try like this, but i don't know what i can write in preg_match() to only
get the email adress.

while(odbc_fetch_row($ret)){
$Epost = odbc_result($ret,"Epost");
preg_match_all( '/?/', $Epost, $result);
foreach ($result[0] as $loop_result)




sturle




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php