Jump to content

piney

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

piney's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. That worked but my code dont work... if $loop = 10 $s['$loop'] should = $s10 right??? or how would i get that to work???
  2. I have set $s8 - $s12 as names [code]<?php $loop = 8; $time = date('H') - 12; while ($loop <= 12) { if ($s['$loop'] == Lavish) && ($time == $loop) {   echo "Lavish is playing now!"; } elseif ($s['$loop'] == Lavish) && ($time > $loop) {   echo "Lavish is played at $loop"; } elseif ($s['$loop'] == Lavish) && ($time < $loop) {   echo "Lavish is playing at $loop"; } else echo 'Lavish is not playing this week';   $loop++; }?>[/code] I get error "unexpected T_BOOLEAN_AND" any ideas??
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.