Jump to content

help needed!!!!


sushantkaura

Recommended Posts

i have a list of songs,any one of thm can b played , which are taken from my database

"listen" button is used to open my mp3 player in a new window with the help of java script function "open_win()"

 

a lot of java script will be used. i think so ...

 

echo " <table border='0'>

<tr>

<th>Creator</th>

<th>Name</th>

<th>Type</th>

<th>Description</th>

<th>Date</th>

<th>Time</th>

<th>Rating</th>

</tr>";

 

while($row = mysql_fetch_array($result))

  {

  echo "<tr>";

  echo "<td>" . $row['UserName'] . "</td>";

  echo "<td>" . $row['CName'] . "</td>";

  echo "<td>" . $row['Type'] . "</td>";

  echo "<td>" . $row['CDescription'] . "</td>";

  echo "<td>" . $row['Date'] . "</td>";

  echo "<td>" . $row['Time'] . "</td>";

  echo "<td>" . $row['Avg'] . "</td>";

   

  //$_SESSION['url']=$row['Url'];

 

   

  echo "<td>"?><input type=button value="Listen" onclick="open_win()"/><?php "</td>";

   

  echo "</tr>";

  }

 

 

echo "</table>";

 

 

i want to transfer the "url" of tht song to the player window.

i cant use sessions coz every time the same song will be played even if i click a diifernt listen but on of some other song.

when a viewer visit tht page , he must be able to listen the corresonding song with the click of the "listen" button.

how should i proceed.

wht other method can be used and how it can be used

 

u can take an example like online music listening.........

where from a big database all songs info is loaded on a single page thn when u click on one a new window open in which u can hear tht song and aftr closing it u can hear sum other song.

 

any1 can help me.................

sushant kaura

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.