View Single Post

(#13 (permalink))
Old
nivram2880@yahoo.com nivram2880@yahoo.com is offline
Junior Member
nivram2880@yahoo.com is on a distinguished road
 
Posts: 6
Join Date: Jul 2008
Default 07-18-2008, 04:18 AM

WOW that was great thanks for this forum and thanks to you it was very helpful my code now was working well i will add $_GET["id"]; on the top of my code and its working .. Thanks again.. here now is my code

<?php

$id=$_GET["id"];


$db = mysql_connect("mysql1.000webhost.com", "a3761672_111", "123456");
mysql_select_db("a3761672_11114",$db);
$result = mysql_query("SELECT * FROM music WHERE id='$id'",$db);
$myrow = mysql_fetch_assoc($result);


echo "".$myrow["autor"];

?>


Reply With Quote