Saturday, 15 January 2011

php - Adding row table for each ID in mysql? -


I am trying to create a website to create a radio, and I want to create a page that includes radio Playlist will be included. I made a table with rows and columns (song name | DJ) and here is the code:

   

I want to create a MySQL table that includes songs and names of their DJ. I want to make it so much, add a new line for each id (song name | DJ) Is given, something like this:

  song name. DJ Song 1 | DJ 1 song 2 | DJ 2 song 3 Thank you in advance 

assuming that You need to loop the records in the result set given by the query to create a data row already in your database table.

Example see here


No comments:

Post a Comment