On 18-Jul-2001 Brad Wright wrote:
> Hi,
> I have a database with a 'date' field. What is the syntax for using the
> (mysql) function 'getdate()', to insert the date into the DB table.
> the syntax I'm currently using is:
> $query = "Insert INTO visits (visName, date)
> values ('$name
Brad Wright pressed the little lettered thingies in this order...
> Hi,
> I have a database with a 'date' field. What is the syntax for using the
> (mysql) function 'getdate()', to insert the date into the DB table.
> the syntax I'm currently using is:
> $query = "Insert INTO visits (visName, da
Hi,
I have a database with a 'date' field. What is the syntax for using the
(mysql) function 'getdate()', to insert the date into the DB table.
the syntax I'm currently using is:
$query = "Insert INTO visits (visName, date)
values ('$name', getdate()) " ;
$result = mysql_query($query,
3 matches
Mail list logo