modeno adlı üyeden alıntı:
mesajı görüntüle
php.ini dosyanizi duzenlemeyi denediniz mi?
ini_set('max_execution_time', 4000);
ini_set('max_execution_time', 0);
21
●297


<?php
$dbh = new PDO("mysql:host=localhost;dbname=hastag", "root", "");
$stmt = $dbh->query("SELECT id, name,surname, birth, ip FROM koop WHERE ip like 'KAPI' ORDER BY birth");
$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
echo '{"data":[';
foreach ($rows as $row) {
$list = array();
$list["id"] = $row["id"];
$list["name"] = $row["name"];
$list["surname"] = $row["<font color="#000000"><font face="Open Sans">surname</font></font>"];
$list["ip"] = $row["<font color="#000000"><font face="Open Sans">ip</font></font>"];
echo json_encode($list);
}
echo ']}';
?>