scepanmali Posted March 20, 2008 Share Posted March 20, 2008 Hi, guys Can anyone tell me how to make this code to extract $zajedno instead of $id variable in the browser? Thank you in advance! <?php $username = "root"; $password = "root"; $hostname = "localhost"; $dbhandle = mysql_connect($hostname, $username, $password) or die("Unable to connect to MySQL"); echo "<br>"; $selected = mysql_select_db("spotovi1", $dbhandle) or die("Could not select DB"); $zajedno=$row['Artist']."- ".$row['Song']; $row['Artist']=$Artist; $row['Song']=$Song; $id= $row['id']; $id = $_GET['id']; $sql = mysql_query("SELECT * FROM oblast_metal WHERE ID = '$id'"); $title = mysql_fetch_row($sql); Link to comment https://forums.phpfreaks.com/topic/97098-how-to-do-this/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.