Vamos por partes:
1.- Crea el config.php:
Código PHP:
<?php
$pass="pass";
$host="mysqlhost";
$nick="user";
$db="DB";
//Sustituye los datos de las variables por tus datos
mysql_connect($host, $user, $pass);
mysql_select_db($db);
?>
2.- Crea el archivo event.php:
Código PHP:
<?php
include("config.php");
$day=date(j);
$month=date(m);
$year=date(Y);
$eventos=mysql_query("SELECT evento FROM events WHERE day='$day' and month='$month' and year='$year' ");
?>
3.- Crea el archivo today.php:
A este dale un diseño, pero pon este código donde quieras que se vea el evento:
Código PHP:
<?php
include("config.php");
include("event.php");
print $eventos;
?>
4.- Debes tener la tabla events con estos cuatro campos:
day
month
year
event
En event es donde debe estar el evento
5.- Create un formulario para meter los eventos en el event. Ahora te posteo uno
Si te sirve, se agradece un Karma