RE: [PHP-DB] Please help count ?

2002-04-04 Thread Rosser, Chris
Dave, Try: $postcode_parts = explode(" ", $postcode); The first part of the postcode will be available in $postcode_parts[0]. - Chris > -Original Message- > From: Dave Carrera [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, April 04, 2002 5:29 PM > To: [EMAIL PROTECTED] > Subject:

RE: [PHP-DB] Replacing * with %

2002-01-15 Thread Rosser, Chris
The following works fine for me: $currentword = ereg_replace("\*","%",$currentword); Chris }:) > -Original Message- > From: matt stewart [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, January 15, 2002 9:57 AM > To: [EMAIL PROTECTED] > Subject: RE: [PHP-DB] Replacing * with % > > just

RE: [PHP-DB] MySQL date formats

2001-12-20 Thread Rosser, Chris
Sorry, correction: > -Original Message- > From: Rosser, Chris > Sent: Thursday, December 20, 2001 5:37 PM > To: [EMAIL PROTECTED] > Cc: 'nautilis' > Subject: RE: [PHP-DB] MySQL date formats > > nautilis, > > Leave the date

RE: [PHP-DB] MySQL date formats

2001-12-20 Thread Rosser, Chris
nautilis, Leave the date in the database in MySQL format (/MM/DD) and when you need to display the date on your page, just do this: That just splits up the three numbers, and rearranges them. Easy :) Chris }:) > -Original Message- > From: nautilis [SMTP:[EMAIL PROTECTED]] > Sent: