Results 1 to 9 of 9

Thread: Dj timetable

  1. #1
    Join Date
    Feb 2006
    Location
    Befordshire, England
    Posts
    672
    Tokens
    0

    Default Dj timetable

    Hello,

    I've seen loads of threads recently asking for DJ timetable things for their Dj panels.

    most people probably know now anyway but, this is taken from techtuts to help you people:

    PHP Code:
    <?php 
    include("config.php"); // connect 
    if(!$_POST['post']) 

    $date date("m/y"); // the current date ( only months and years) 
    echo 
    <form method='post'> 
      Please Choose A Date Youd Like To Lookup 
      <p><strong>Date: *</strong> 
        <select name='date' id='date'> 
          <option>1/
    $date</option> 
          <option>2/
    $date</option> 
          <option>3/
    $date</option> 
          <option>4/
    $date</option>        
          <option>5/
    $date</option> 
          <option>6/
    $date</option>        
          <option>7/
    $date</option> 
          <option>8/
    $date</option>        
          <option>9/
    $date</option> 
          <option>10/
    $date</option>        
          <option>11/
    $date</option> 
          <option>12/
    $date</option>        
          <option>13/
    $date</option> 
          <option>14/
    $date</option>        
          <option>15/
    $date</option> 
          <option>16/
    $date</option> 
          <option>17/
    $date</option> 
          <option>14/
    $date</option>        
          <option>18/
    $date</option> 
          <option>19/
    $date</option> 
          <option>20/
    $date</option> 
          <option>21/
    $date</option>        
          <option>22/
    $date</option> 
          <option>23/
    $date</option> 
          <option>24/
    $date</option> 
          <option>25/
    $date</option>        
          <option>26/
    $date</option> 
          <option>27/
    $date</option>        
          <option>28/
    $date</option>        
          <option>29/
    $date</option> 
          <option>30/
    $date</option> 
          <option>31/
    $date</option> 
              </select><input name=\"post\" type=\"submit\" value=\"post\"> 
              </form>"

                

    else 

    $date $_POST['date'];// get the posted date 
    $getdjsays mysql_query("SELECT * FROM timetable WHERE date = '$date' ORDER BY time DESC LIMIT 24"); // selecting todays schedukle 
    while($r=mysql_fetch_array($getdjsays)) // put all the info into an array 
    {    
    echo 

    <strong> 
    DJ </strong><a href=\"../members.php?user=
    $r[username]\" target=\"main\"> 
    $r[username] 
    </a> 

    <strong> <br> 
    Show Name:</strong> 
    $r[name]<strong><br> 
    Time:</strong> 
    $r[time] <strong><br> 
    Date:</strong> 
    $r[date]<br> 
    <strong>DJ's Comments: </strong> 
    $r[comments]<br><br> 
    "
    ;  // display all the info 

    }
    // end code 
    ?>
    Daza

  2. #2
    Join Date
    Jan 2006
    Location
    Cambridge
    Posts
    1,911
    Tokens
    0

    Latest Awards:

    Default

    emm... isnt that for a dj system:S

    EDIT: I Belive I am Correct
    Last edited by :Edzy; 23-04-2006 at 11:01 AM.
    EDTALKING


  3. #3
    Join Date
    Feb 2006
    Location
    Befordshire, England
    Posts
    672
    Tokens
    0

    Default

    I said it was for peoples Dj panels or DJ system, and yes it is. i was just trying to help and know ididn't make the tutorial i just posted to stop people keep asking.

    Daza

  4. #4
    Join Date
    Jan 2006
    Location
    Cambridge
    Posts
    1,911
    Tokens
    0

    Latest Awards:

    Default

    ok v Helpful +REP
    EDTALKING


  5. #5
    Join Date
    Feb 2006
    Location
    Befordshire, England
    Posts
    672
    Tokens
    0

    Default

    Aha thanks.

    Daza

  6. #6
    Join Date
    Dec 2005
    Posts
    1,733
    Tokens
    201
    Habbo
    Bomb-Head

    Latest Awards:

    Default

    I agree, very helpful for people who dont know, +rep

  7. #7
    Join Date
    Feb 2006
    Location
    Befordshire, England
    Posts
    672
    Tokens
    0

    Default

    Thanks Bomb-Head


    Daza

  8. #8
    Join Date
    Apr 2006
    Posts
    110
    Tokens
    0

    Default

    It dont even tell us how 2 install it into the radiopanel dj panel.

  9. #9
    Join Date
    Feb 2006
    Location
    Befordshire, England
    Posts
    672
    Tokens
    0

    Default

    It's pretty simple of course you have to have some PHP knowledge , you just put that code onto the page that you want it on add a link to it into hte DJ panel and Wolah!

    Daza

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •