$file = $b->query("Select * from `pages` where `idusr` != '$id' and `activ` = 1");
PS. Mysql_error() nic nie daje.
<?php ?>
<? include ("class.php"); include("phpm/class.phpmailer.php"); $l = new logs(); $b = new baza($l); $id = $_SESSION["ID"]; $file = $b->query("Select * from `pages` where `idusr` NOT IN($id) and `activ` = 1"); $b->blad(); $ch = curl_init(); { curl_setopt($ch, CURLOPT_URL, $file1[0]); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $ch_zawartosc = curl_exec($ch); } curl_close($ch); ?>