Today in Music History

What happened today in music history:

‘. $fullmonth[$month].’ ‘.$day .’

‘;

$username = DB_USER;
$password = DB_PASSWORD;
$hostname = DB_HOST;
$dbname = DB_NAME;

$mysqli = new mysqli($hostname, $username, $password, $dbname);

if ( $mysqli->connect_errno )
{
echo ‘Sorry, unable to get content.’;
}
else
{
$sql = “SELECT year, data FROM todayinmusic WHERE month = “. intval($month) .” AND day = “. intval($day);
$results = $mysqli->query($sql);

while ($row = $results->fetch_assoc())
{
echo ‘‘.$row[‘year’].’: ‘.$row[‘data’].’

‘;
}

$results->free();
$mysqli->close();

$previousday= $day – 1;
$nextday = $day + 1;
$previousmonth = $month;
$nextmonth = $month;

if ($previousday == 0)
{
$previousmonth=$month-1;
$previousday=$daysmonth[$month];
}

if ($nextday > $daysmonth[$month] )
{
$nextmonth=$month+1;
$nextday=1;
}

if ($previousmonth==0)
{
$previousmonth=12;
$previousday=31;
}

if ($nextmonth==13)
{
$nextmonth=1;
$nextday=1;
}

echo ‘

<<< Previous day Archives Next day >>>

‘;
}

?>

music and audio website logo
  • Recent Articles

    • Time to get 500 Series Pre Amps
    • Power of Music
    • Musicians: How to Record Yourselves
    • Mixing a Song
    • Why People Collect Vinyl Records
  • Recent Comments

    • Ayam Sirias on Name your band, create cover art and name your first album…randomly!
    • The Original Vince Carter on Do 320kbps mp3 files really sound better? Take the test!
    • Just Me on Impressive Vocal Ranges of 6 Rock Singers
    • Just Me on Impressive Vocal Ranges of 6 Rock Singers
    • Robert Francis on The most expensive speaker cable in the world?
  • Popular Posts

    Hearing Test

    WAV vs MP3

About | Contact | Privacy Policy | Sound Samples | Music History ©2006-2023 All Rights Reserved

Comments (RSS) | Entries (RSS)