DISQUS

eNaresh: PHP Tutorial: Create A Podcast Player

  • JohnnyO · 1 year ago
    Nice one Nash! This could be useful
  • Peppery · 1 year ago
    Nice tutorial, as always, Naresh. I don't run a podcast personally, but I'm sure others will find this handy.
  • Connor Wilson · 1 year ago
    What ever happened to:

    $color = ($number % 2) ? $color_1 : $color_2;

    Although I prefer to alternate a variable between "alt" and "" and set it in the class, so everything is CSS controlled.
  • Brad · 1 year ago
    I agree that a ternary operator would be easier to use in this case for the colors, but this is a really useful script, Naresh.

    Perhaps we can use it for something? ;)
  • Naresh · 1 year ago
    Tutorial was meant to be easily explained and easily used by novices. Ternary Operators are for another time.
  • adam2z · 1 year ago
    if you make it all the way through november, i'll mail you a cookie :)
  • Chris · 1 year ago
    Nice tutorial Naresh, keep it up.
  • Shaun Beale · 1 year ago
    Wow cool tut Nash:D
  • Cyrus Kafai Wu · 1 year ago
    Awesome tut. Can't wait to hear about the siterose beta. Good luck guys on getting the beta.
  • Naresh · 1 year ago
    Actually, everyone who commented gets beta. Thanks for the comments, guys.
  • Tom · 1 year ago
    Ah ausom tutorial, i like!!
    can i ask why you used curl to grab the feeds contents? and not a one-liner such as file_get_contents(); ?

    - Tom
  • Jo · 10 months ago
    Nice tutorial Nash !

    Just one note: the tutorial example link is not working anymore

    Joe