Hallo Profies,
vorne weg ich habe leider keine Lösung im Forum gefunden :-)
Ich habe ein Eingabefeld in Form von :
	
( wobei hier N_lizenz_end ein Datum im Format xx.xx.xxxx ist und möchte nun eine DB-Tabelle mit dieser Funktion updaten :
	
Aber irgendwie funzt es nicht, in weit muss ich 
	
ändern um es später mit 
	
 wieder auslesen zu können.
Danke und Gruss Alf
					vorne weg ich habe leider keine Lösung im Forum gefunden :-)
Ich habe ein Eingabefeld in Form von :
PHP-Code:
	
	
...
<tr> 
 <td align="right"><?php echo $strLizenzende;?> </td>
   <td align="left"> 
     <input class="myInput" type="text" name="N_lizenz_end" value="<?php echo $lizenz_end; ?>" />
  </td>
</tr>
...
PHP-Code:
	
	
...
$sql = "UPDATE ".PPHL_TBL_USERS." SET lizenz_end = '".$N_lizenz_end."', email = '".$N_email."', visible = ".$N_visible.", "
     . "timeout = '".$N_timeout."', timeout_onl = '".$N_timeout_onl."', "
     . "hit_mail = '".$N_hit_mail."', loglim = '".$N_loglim."', stats_cache = ".$N_stats_cache.", your_url = '".$N_your_url."', "
     . "demo = ".$N_demo.", ttf_file = '".$N_ttf_file."', gd_font = '".$N_gd_font."', ttf_size = '".$N_ttf_size."', "
     . "bg_c = '".$N_bg_c."', fg_c = '".$N_fg_c."', bg_trans = ".$N_bg_trans.", cssid = ".$N_css.", gmt = '".$N_gmt."', "
     . "lang = '".$N_lang."', limh = '".$N_limh."', limh_p = '".$N_limh_p."', limd = '".$N_limd."', limd_p = '".$N_limd_p."', hits = '".$N_hits."', kwspl = ".$N_kwspl." "
     . "WHERE id = ".$id;
... 
PHP-Code:
	
	
lizenz_end = '".$N_lizenz_end."' 
PHP-Code:
	
	
$lizenz_end=strftime("%d.%m.%Y",$lizenz_end); 
Danke und Gruss Alf
          
 
							
						
Kommentar