djaubs89 Posted July 16, 2017 Share Posted July 16, 2017 i'm getting stuck with this part echo'' . $img . '' . $title . '' . $sub . ''; please help Link to comment Share on other sites More sharing options...
James Posted July 16, 2017 Author Share Posted July 16, 2017 i'm getting stuck with this part echo'' . $img . '' . $title . '' . $sub . ''; please help Please provide some more detail. What bit are you stuck on specifically? What are you trying to achieve vs what is it doing? That line of code looks fine to me. Also, please use the CODE tags when embedding code in posts for easier reading. Studiio - All-In-One Radio Communication Platform SMS | Phone Calls | Social Media | Content Link to comment Share on other sites More sharing options...
djaubs89 Posted July 22, 2017 Share Posted July 22, 2017 ok so i'm meant to be on air friday saturday and sunday? but my picture is not showing up, please help // FRIDAY SCHEDULE if ($d == 5 && $h >= 0 && $h else if ($d == 0 && $h >= 19 && $h else if ($d == 1 && $h >= 14 && $h else if ($d == 2 && $h >= 16 && $h else if ($d == 3 && $h >= 18 && $h else if ($d == 4 && $h >= 20 && $h else if ($d == 5 && $h >= 18 && $h else if ($d == 6 && $h >= 0 && $h // SATURDAY SCHEDULE else if ($d == 0 && $h >= 0 && $h else if ($d == 1 && $h >= 19 && $h else if ($d == 2 && $h >= 18 && $h else if ($d == 3 && $h >= 18 && $h else if ($d == 4 && $h >= 18 && $h else if ($d == 5 && $h >= 18 && $h else if ($d == 6 && $h // SUNDAY SCHEDULE else if ($d == 0 && $h >= 0 && $h else if ($d == 1 && $h >= 23 && $h else if ($d == 2 && $h >= 10 && $h else if ($d == 3 && $h >= 14 && $h else if ($d == 4 && $h >= 16 && $h else if ($d == 5 && $h >= 18 && $h else if ($d == 6 && $h >= 23 && $h else if ($d == 0 && $h >= 18 && $h else if ($d == 0 && $h see were it says strawbs Link to comment Share on other sites More sharing options...
PapaBearPW Posted July 22, 2017 Share Posted July 22, 2017 For each day, you keep checking for different days...For example your Friday block: // FRIDAY SCHEDULE if ($d == 5 && $h >= 0 && $h else if ($d == 0 && $h >= 19 && $h else if ($d == 1 && $h >= 14 && $h else if ($d == 2 && $h >= 16 && $h else if ($d == 3 && $h >= 18 && $h else if ($d == 4 && $h >= 20 && $h else if ($d == 5 && $h >= 18 && $h else if ($d == 6 && $h >= 0 && $h You should only be checking the day ($d) once for each daily schedule. Plus your hours are all over the place and you should not have a / before the images urls. So it should look more like: // FRIDAY SCHEDULE if ($d == 5){ if($h >= 0 && $h else if ($h >= 4 && $h else if ($h >= 5 && $h else if ($h >= 6 && $h else if ($h >= 7 && $h else if ($h >= 8 && $h else if ($h >= 9 && $h else if ($h >= 10 && $h else if ($h >= 11 && $h else if ($h >= 12 && $h else if ($h >= 13 && $h else if ($h >= 14 && $h else if ($h >= 15 && $h else if ($h >= 16 && $h else if ($h >= 17 && $h else if ($h >= 18 && $h else if ($h >= 19 && $h else if ($h >= 20 && $h else if ($h >= 21 && $h else if ($h >= 22 && $h else if ($h >= 23 && $h } Check your PMs. I'll send you something to try. http://www.lunarcaster.com Link to comment Share on other sites More sharing options...
djaubs89 Posted August 28, 2017 Share Posted August 28, 2017 i do 6pm till 8pm could you put that in the script for me please Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now