Re: [PHP-DB] Dumb Question??

2001-12-17 Thread Russ Michell
Russ - Why not (MySQL) extract the field always, and code into your (php) generic mechanism whether or not a particular field under that name appears? Using mysql_fetch_assoc() you could exclude 'modified' from your generic mechanism under particular circumstances. This avoids coding it

Re: [PHP-DB] PostgreSQL and Regular Expressions

2001-12-17 Thread GB Clark II
On Monday 17 December 2001 09:12, Joe Koenig wrote: I've been digging through the postgres docs and haven't found a way to use reg ex's in a query. Is there a simple way? Something similar to MySQL's RLIKE? I'm trying to select all records that start with a number [0-9]. Thanks, Joe Take a

[PHP-DB] Table to BIG to dump, how ?

2001-12-17 Thread Nagasea
I always got this error message when I tried to dump my structure and data table to a file. I think it's because the file table size it BIG (almost 10mb). Is there anyway to dump that table to file without getting browser time out ? Please help me here.. -Naga

[PHP-DB] Converting english date formats to french....

2001-12-17 Thread Vincent Beaulieu
Hi All, Does anyone have a quick and easy trick to convert dates from a MySQL database from English to French? I have a Calendar that uses PHP and MySQLworks wonderfully in English...having trouble converting the dates to a French format though. Are there built-in MySQL or PHP functions

[PHP-DB] Re: Table to BIG to dump, how ?

2001-12-17 Thread Fred
Where is the error msg? Fred Nagasea [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I always got this error message when I tried to dump my structure and data table to a file. I think it's because the file table size it BIG (almost 10mb). Is there anyway to

[PHP-DB] duplicated entry for key #

2001-12-17 Thread nautilis
Hi everybody! My problem is: I have a form to allow users in a website to register. My problem is that when someone registers a name that is alredy taken, mysql returns a 'Duplicate entry 'username' for key 1. I just want to show a message to user telling that the username is in use by another

[PHP-DB] Re: Converting english date formats to french....

2001-12-17 Thread Fred
You can use PHP to format the date: http://php.he.net/manual/en/function.date.php or use MySQL: http://www.mysql.com/doc/D/a/Date_and_time_functions.html see DATE_FORMAT() Fred Vincent Beaulieu [EMAIL PROTECTED] wrote in message

Re: [PHP-DB] Re: Table to BIG to dump, how ?

2001-12-17 Thread Nagasea
there are no error message, the browser is suddenly stop (like no connection) --- Fred [EMAIL PROTECTED] wrote: Where is the error msg? Fred Nagasea [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I always got this error message when I tried to dump my

[PHP-DB] converting extracted variables to arrays

2001-12-17 Thread sharmad
Hi, i have a variable which is multi valued seperated by # (say as) delimiter like student#name#address#college#etc... #...# i want to seperate it into an array with index $i can anyone suggest a way to do so TIA -Sharmad -- PHP Database Mailing List (http://www.php.net/) To unsubscribe,