Toon posts:

[php]mktime() werkt niet

Pagina: 1
Acties:
  • 57 views sinds 30-01-2008

Verwijderd

Topicstarter
Ik krijg de melding bij het submitten:
Warning: mktime(): Windows does not support negative values for this function in c:\inetpub\wwwroot\test\test2.php on line 11

PHP:
1
2
3
4
5
6
<? 
if (!empty($_POST)){    
$tijd = date(mktime(0,0,0, $_POST['jaar'], $_POST['maand'] , $_POST['dag']));R11    
$query="INSERT INTO test (id,datum) VALUES ('','$tijd')";    
    mysql_query($query) or die (mysql_error()); 
?>  

  • FastBunny
  • Registratie: Januari 2001
  • Laatst online: 11:44

FastBunny

Give it the Works !

never mind :)

[ Voor 88% gewijzigd door FastBunny op 26-11-2003 09:33 ]

Server: Dell PowerEdge R610, 48GB DDR3 1333MHz, 3 x 4TB IronWolf RAID5, Dell H700, VMware ESXi 6.0
Laptop: Dell Latitude E6510, Intel i5-560m, 8GB RAM, 128GB Samsung SSD, 250GB 7200rpm, 15.4" WUXGA FHD
PSN: FastBunny_NL


  • whoami
  • Registratie: December 2000
  • Laatst online: 23:03
Was ik onduidelijk over de quickstart misschien?

Trouwens, een topic zomaar heropenen na een slotje is not done.

[ Voor 42% gewijzigd door whoami op 26-11-2003 09:34 ]

https://fgheysels.github.io/


Dit topic is gesloten.