%PDF- %PDF-
Direktori : /data/www_bck/varak.net_bck/wow2.varak.net/xml/ |
Current File : //data/www_bck/varak.net_bck/wow2.varak.net/xml/export.php |
<?php include("../lib.php"); $spojeni = mysql_connect("localhost", "waritko", "blade666"); mysql_select_db("waritko_eqdkp", $spojeni); $tracks = q("select artist, album, track, time, duration from played order by time"); foreach($tracks as $t) { echo "insert into played(artist, album, track, time, duration) values('$t[0]', '$t[1]', '$t[2]', $t[3], $t[4]);\n"; } mysql_close($spojeni); ?>