Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Youtube player kodo

Parašė IPaulius· 2011 Bir. 12 16:06:57
#15


<?php
 
			$con = mysql_connect("localhost", "root", "") or die("Could not connect: " . mysql_error());
			mysql_select_db("cb_db");
			$xx = $_SESSION['LOGINAS'];
			$url = $row['id'];
			$result = mysql_query("SELECT * FROM `video_album` WHERE `login` = '$xx'")  or die(mysql_error()); 
			while ($row = mysql_fetch_array($result)) {
			echo "$url";
 
			}
 
		mysql_close($con);
 
		?>