Re: DEALING WITH RETRIEVING AND WRITING DATE VALUE FROM/TO TABLE
| From: | 1LT John W. Holmes | Date: | Wed, 09 Oct 2002 16:25:58 +0000 |
| Subject: | Re: DEALING WITH RETRIEVING AND WRITING DATE VALUE FROM/TO TABLE | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-22294@lists.php.net to get a copy of this message | ||
> 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...