I'm a PHP illiterate.

Discussion in 'PHP' started by fize4ever, Sep 27, 2010.

  1. #1
    Hello all! I am very inexperienced with PHP at the moment and I am still trying to learn it through the help of the great people of the web.
    I have an online video streaming website and I'm looking to do the following: "You are currently watching ____ from the series: _____" to be put under each episode.
    Whereas the first blank would be to get the current URL (which I already did through the helpful tutorials on the web)
    While the second blank would be the series page (the page where I index the episodes)
    So how do I go about to get the series page URL?
    Many thanks in advance to anyone who read this!
     
    fize4ever, Sep 27, 2010 IP
  2. bartolay13

    bartolay13 Active Member

    Messages:
    735
    Likes Received:
    14
    Best Answers:
    1
    Trophy Points:
    98
    #2
    every video on your website must have an index in your database. are you using database? or is your site static?
     
    bartolay13, Sep 27, 2010 IP
  3. WoRLDLiFE

    WoRLDLiFE Peon

    Messages:
    116
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    you need to give more information about your website to get your query solve .
     
    WoRLDLiFE, Sep 28, 2010 IP
  4. fize4ever

    fize4ever Guest

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thank you both for replying! and yes I do indeed have a database and as such, my site is not static. If I need to give out any more information then please do ask.
    I don't know much about PHP but if my query would require effort and time on your guys ends, then I am certainly willing to pay a small commission for it.
     
    fize4ever, Sep 28, 2010 IP
  5. ivan.kristianto

    ivan.kristianto Active Member

    Messages:
    136
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #5
    can you provide me more about how the data store in your database?
     
    ivan.kristianto, Sep 28, 2010 IP
  6. fize4ever

    fize4ever Guest

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Hello Ivan!
    I use Wordpress as my CMS for the site's design and database, I post new episodes through Wordpress "add new post" option and create the episodes series index by creating a series page for it, and they are all automatically stored in the Wordpress database. (or this is what I assume)
    Is this what you were looking for as an answer?
     
    fize4ever, Sep 28, 2010 IP
  7. mdvaldosta

    mdvaldosta Peon

    Messages:
    4,079
    Likes Received:
    362
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I'd imagine since you're using wordpress, you can just echo out the category or post/page name (depending on what you consider the "series page" to be).
     
    mdvaldosta, Sep 28, 2010 IP
  8. fize4ever

    fize4ever Guest

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Alright this is great! so can you teach me how to do this? and if you don't have time, then can you give me a tutorial or a reference to use to do this?
     
    fize4ever, Sep 28, 2010 IP
  9. ivan.kristianto

    ivan.kristianto Active Member

    Messages:
    136
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #9
    @fize4ever
    do you use any plugin for your series page?
     
    ivan.kristianto, Sep 29, 2010 IP
  10. fize4ever

    fize4ever Guest

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I'm afraid not, I create them and index the episodes of the series manually.
     
    Last edited: Sep 29, 2010
    fize4ever, Sep 29, 2010 IP
  11. ivan.kristianto

    ivan.kristianto Active Member

    Messages:
    136
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #11
    How do you manage your episode manually?
    Do you use tag, categories or just make it in title?
     
    ivan.kristianto, Sep 29, 2010 IP
  12. fize4ever

    fize4ever Guest

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    I create the episodes through the "add new post" option in Wordpress then I create the series page through the "add new page" option in Wordpress and then I write the episodes numbers like: "series name episode XX" whereas the series name would be replaced by the actual series name and XX will be replaced by numbers. Then I link the URL of the created post that I have created through the post function.
    I am simply looking for a way through PHP to grab me the series pages URL so the visitors can use as a reference for episodes.
    Again though, I will of course pay to know this if needed. (I am really desperate in getting this to work)
     
    fize4ever, Sep 30, 2010 IP
  13. ivan.kristianto

    ivan.kristianto Active Member

    Messages:
    136
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #13
    i can do this with simple plugin.
    PM me your skype id.
     
    ivan.kristianto, Oct 1, 2010 IP
  14. articlesdirectory

    articlesdirectory Greenhorn

    Messages:
    57
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    18
    #14
    Hi, I can help you for learning PHP.

    I am familiar with PHP and know PHP/MYSQL/JavaScript/AJAX/
    I am also familiar with HTML, CSS, ADOBE PHOTOSHOP CS
    WORDPRESS and Joomla is also included in my expertise.

    I have joined this forum to share my knowledge. and to take benefit of others knowledge.
     
    articlesdirectory, Oct 2, 2010 IP
  15. gurpinder

    gurpinder Guest

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #15
    As articlesdirectory posted , u can learn php from him .
    There are various websites from which you can learn php like w3schools.com and php.net,
    On the website php.net you will find the answers to all your questions. It is the official website for php.
    You will find all the functions and their working with the examples on that website.
    Enjoy learning php, Good luck.
     
    gurpinder, Aug 6, 2012 IP
  16. berich

    berich Active Member

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    86
    #16
    I don't have too much knowledge about php and I wish I can learn it, am looking to learn it from php.
     
    berich, Aug 9, 2012 IP