Prev Previous Post   Next Post Next
Old 7th June 2003, 15:34   #1
ctn|chrisw
Forum King
 
ctn|chrisw's Avatar
 
Join Date: Mar 2002
Location: Hell
Posts: 3,309
php help?

Im trying to make it so I can submit using the dosomething plugin for winamp, the current playing song, artist, and album that Im listening to. I got a script that submits the song and it works
PHP Code:
<?php
      
require_once('config.php');
      
mysql_connectlocalhostchrisw$password);
      
mysql_select_db(chrisw_at);
      
mysql_query("Update $table set artist = '".$_GET["artist"]."', title = '".$_GET["title"]."', album = '".$_GET["album"]."' WHERE name = '$_GET[name]'  ");
?>
but now im stumped to how to get it out of the db so that it will select from the where the name = song and will output it like
Artist: current artist's name
Title: Current song's title
Album: Current Album.
Does anyone have any idea cause Im stumped :\


ctn|chrisw is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast Forums > Community Center > General Discussions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump