".$y[1]." ".$y[2]." ".$y[3]." ".$y[4]." ".$y[5]." ".$y[6]." ".$y[7]." "; $z="http://".$_SERVER['SERVER_NAME']."/".$y[1]."/".$y[3]."/".$y[4]."/".$y[5]."/".$z[0].".php"; $link=mysql_connect("localhost","max","123") or die(" ");mysql_query("SET NAMES 'cp1251'"); $bd=mysql_select_db("petroart") or die(mysql_error()); $query = "SELECT * FROM `arteng` WHERE `src` LIKE '".$z."'"; mysql_query($query) or die(mysql_error()); $result = mysql_query($query) or die(mysql_error()); $row = mysql_fetch_array($result, MYSQL_ASSOC); echo htmlspecialchars_decode($row["text"]); ?> |