I guess it´s my bad english that is a big problem here. Some of you dosn´t seem to understand how I mean.
Another try:
I have a table called updates. In there are one table called news with only two columns -one called "text" and one called "date".
In the news-column I write news on my site. In the date-column is the date when I created the post supposed to be in the format YY-MM-DD.
This is then my code:
<table border="1" cellspacing="0" width="90%" bordercolor="#FFFFFF" bordercolordark="#FFFFFF" bordercolorlight="#000000">
<?php
$connect=@mysql_connect("localhost","user","");
$database=mysql_select_db("updates");
$sql="SELECT * FROM news";
$result=mysql_query("$sql");
while($rad=mysql_fetch_array($result)) {
?><tr><td bgcolor="#99cc99" valign="top"><font size="1" face="verdana,arial"><b>
<?=$rad["date"]?></b></td><td bgcolor="#99cc99" valign="top"><font face="Verdana" size="1"><?=$rad["text"]?>
</td></tr>
<?}
mysql_close($anslut);
?>
</table>
So the question is:
1. What format should I use i my MySQL-database for the date-column?
2. If there are no date-format that can look like and do what I want, then how do I write in my code to make it look the way I want?
Please, forgive me for not understanding your answers. I´m very new to PHP and very bad at english = bad combination ;-)
//Jessica