Hey all 🙂
Does anyone know how I can show the date (code below) with the corresponding article (article_id column, on the same news table) ?
As of now, it shows all the article dates, instead of just the one date thats associated with the article.
$sql_date = mysql_query("SELECT date_format(datecolumn, '%M %D, %Y') as date FROM news") or die (mysql_error());
while(list($date)=mysql_fetch_row($sql_date)){
echo "$date";
}
Thanks 🙂