• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Windows Help Movie Gesior .

fera holy kina

Ubuntu 10.04
Joined
Jan 27, 2009
Messages
192
Reaction score
5
The following error appears when I see a video posted by the players

PHP:
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\videos.php on line 213

Line 113
PHP:
while ($sql = mysql_fetch_array($limite)) {

PHP:
$sql = "SELECT * FROM comentarios WHERE  videoid='$videoid' ORDER BY data ASC";
$limite = mysql_query("$sql");
while ($sql = mysql_fetch_array($limite)) {

$id = $sql["id"];
$videoid = $sql["videoid"];
$charnick = $sql["charnick"];
$servidor = $sql["servidor"];
$comentariox2 = $sql["comentario"];
$account_comment = $sql["account"];


$data = $sql["data"];
$data2 = date('d/m/Y - H:i:s', $data);

if ($account_login == $account_comment){
 $owner = "1";
$delmsg = "<a href='?subtopic=videos&action=delcomment&videoid=$videoid&idcoment=$id'><img src=layouts/tibiacom/images/news/delete.png />";
} else {
 $owner = "0";
$delmsg = "";
}

Anyone have idea what it is?
not understand php
 
Back
Top