current date in php

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sérgio

    #1

    current date in php

    I have a fresh installation of PHP 5.0.4, ISAPI module , on a win2003 with
    IIS 6.0 and mssql 2000. When I query MSSQL using "mssql_quer y( )" function
    using the following:
    "INSERT INTO DATES
    (date)
    VALUES ({ fn CURDATE() })"
    The value <null> is writen on the date field of table DATES.
    Does anyone have a logical explanation for this?

    Thanks,

    Sérgio


Working...