|
Posted by Miguel Cruz on 08/03/06 20:36
"walterbyrd" <walterbyrd@iname.com> wrote:
> Peter Boosten wrote:
>> now()
>
> According to php.net: "Sorry, but the function now is not in the
> online manual. "
>
> Here is the actual code:
>
> This *will* work:
>
> mysql_query("INSERT INTO inventory (item_num, location, quantity,
> date_modified) VALUES($row[0], 'FLR', $row[1], '2006-08-03')")
now() is a MySQL function.
insert into inventory (date_modified) values (now());
miguel
--
Photos from 40 countries on 5 continents: http://travel.u.nu
Latest photos: Malaysia; Thailand; Singapore; Spain; Morocco
Airports of the world: http://airport.u.nu
Navigation:
[Reply to this message]
|