[PHP-DB] DEALING WITH RETRIEVING AND WRITING DATE VALUE FROM/TO TABLE

2002-10-09 Thread Robert Leahong




I need to know how to retrieve a date field from a database
table using MYSQL_DB_QUERY to create recordset. As well as
writing a Date Variable to a table using MYSQL_QUERY  .



YOURS Truly,
Robert Leahong.
[EMAIL PROTECTED]




_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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




Re: [PHP-DB] DEALING WITH RETRIEVING AND WRITING DATE VALUE FROM/TO TABLE

2002-10-09 Thread 1LT John W. Holmes

 I need to know how to retrieve a date field from a database
 table using MYSQL_DB_QUERY to create recordset. As well as
 writing a Date Variable to a table using MYSQL_QUERY  .

For one, don't use mysql_db_query(), it's depreciated.

You'd use mysql_query() for both instances and
mysql_fetch_row/array/assoc/object to fetch the returned data.

Please learn some SQL and read over the MySQL chapter of the PHP manual.

---John Holmes...


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