pave
02-08-2002, 22:55
Hi, ich lasse mir das aktuelle Datum durch php anzeigen, aber wie kann ich die Schift, die durch echo ausgegeben wird formatieren?
Danke schon mal im vorraus:D
Danke schon mal im vorraus:D
| Zurück zum Forum |
|
Archiv verlassen und diese Seite im Standarddesign anzeigen : pave 02-08-2002, 22:55 Hi, ich lasse mir das aktuelle Datum durch php anzeigen, aber wie kann ich die Schift, die durch echo ausgegeben wird formatieren? Danke schon mal im vorraus:D goth 02-08-2002, 23:02 <font> ??? pave 02-08-2002, 23:04 So geht`s nicht <? $timestamp = time(); $uhrzeit = date("H:i:s",$timestamp); echo "<font face="terminal">$uhrzeit</font>" ?> hand 02-08-2002, 23:09 Ansich schon ... <? $timestamp = time(); $uhrzeit = date("H:i:s",$timestamp); print '<h1 style="font-family:Verdana,Arial; font-weight:normal">$uhrzeit</h1>'; ?> pave 02-08-2002, 23:31 Mmmh, dann erscheint:"$uhrzeit" hand 02-08-2002, 23:40 Sorry, small mistake <? $timestamp = time(); $uhrzeit = date("H:i:s",$timestamp); print "<h1 style=\"font-family:Verdana,Arial; font-weight:normal\">$uhrzeit</h1>"; ?> pave 02-08-2002, 23:52 Cool das geht schon mal, nur leider wird jetzt die Zeile meiner Tabelle höher, sonst hat sie sich immer angepasst?: <tr > <td bgcolor="#FFFFFF"> <? $timestamp = time(); $datum = date("d.m.y",$timestamp); print "<h1 style=\"font-family:terminal; font-weight:normal;font-size:1pt\">$datum</h1>"; ?> </td> <td bgcolor="#FFFFFF"> <? $timestamp = time(); $uhrzeit = date("H:i:s",$timestamp); print "<h1 style=\"font-family:terminal; font-weight:normal; font-size:1pt\">$uhrzeit</h1>"; ?> </td> <td align="left" bgcolor="#FFFFFF"> <font face="terminal"> design and content by pave  </font> </td> </tr> pave 03-08-2002, 00:03 Man bin ich blöd, hab schon, danke, schaut mal auf www.formicarium.de vorbei:D |
- - |