Visualizzazione dei risultati da 1 a 3 su 3

Discussione: Datetime assemblato

  1. #1

    Datetime assemblato

    Ciao, ho fatto questa cosa ma non mi funziona!!

    Codice PHP:
    //campo Data è Datetime
    $Data '$_POST[Anno]-$_POST[Mese]-$_POST[Giorno] 00:00:00';
    $query "UPDATE explain SET Data = '$Data' WHERE Nick='$_POST[Nick]'";
    $result mysql_query($query$db); 
    http://codecanyon.net/category/all?ref=Manuelandro
    And I bet she told a million people that she'd stay in touch, Well all the little promises they dont mean much,When theres
    memories to be made

  2. #2
    forse perchè il trattino tra i campi me lo da come sottrazione??
    http://codecanyon.net/category/all?ref=Manuelandro
    And I bet she told a million people that she'd stay in touch, Well all the little promises they dont mean much,When theres
    memories to be made

  3. #3

    Re: Datetime assemblato

    $Data = "$_POST[Anno]-$_POST[Mese]-$_POST[Giorno] 00:00:00";
    " non '
    facendo un echo $Data avresti capito il problema

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.