Board index   FAQ   Search  
Register  Login
Board index PHP PHP Scripts

calendar script

Links for php scripts

Moderators: macek, egami, gesf

calendar script

Postby razerasd » Fri Sep 27, 2013 9:41 am

header("Content-type:text/html; charset=UTF8");
$date = getDate();

$months = array('January' => 'styczeń',
'February' => 'luty',
'March' => 'marzec',
'April' => 'kwiecień',
'Mai' => 'maj',
'June' => 'czerwiec',
'July' => 'lipiec',
'August' => 'Sierpień',
'September' => 'wrzesień',
'October' => 'październik',
'November' => 'listopad',
'December' => 'grudzień',
);
?>

<div style="width:80px; height:100px; border:1px solid black; padding:10px; text-align:center; font-size:14px; color:black">
Today is <br/><br />
<span style="color:blue;font-size:20px;font-weight:bold"><?php echo $date['mday']; ?></span><br /><br />
<?php echo $months[$date['month']]; ?><br /><?php echo date("Y"); ?>
</div>
razerasd
New php-forum User
New php-forum User
 
Posts: 1
Joined: Fri Sep 27, 2013 9:38 am

Return to PHP Scripts

Who is online

Users browsing this forum: No registered users and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.