me sale este codigo de error
Código BASH:
Ver original
Warning: mysql_data_seek(): Offset 0 is invalid for MySQL result index 15 (or the query data is unbuffered) in /home/u457585095/public_html/includes/slider.php on line 76
mi codigo completo es...
Código PHP:
Ver original
<?php require_once('Connections/conexionciudadcristiana.php'); ?> <?php function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { if (PHP_VERSION < 6) { } $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue); switch ($theType) { case "text": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "long": case "int": break; case "double": break; case "date": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "defined": $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue; break; } return $theValue; } } $maxRows_datosSlider = 4; $pageNum_datosSlider = 0; $pageNum_datosSlider = $_GET['pageNum_datosSlider']; } $startRow_datosSlider = $pageNum_datosSlider * $maxRows_datosSlider; $query_datosSlider = "SELECT * FROM tblslider WHERE tblslider.intEstado = 1 ORDER BY tblslider.intOrden ASC"; $query_limit_datosSlider = sprintf("%s LIMIT %d, %d", $query_datosSlider, $startRow_datosSlider, $maxRows_datosSlider); $datosSlider = mysql_query($query_limit_datosSlider, $conexionciudadcristiana) or die(mysql_error()); $totalRows_datosSlider = $_GET['totalRows_datosSlider']; } else { } ?> <link rel="stylesheet" type="text/css" href="css/estiloslider.css" /> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" ></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.3/jquery-ui.min.js" ></script> <script type="text/javascript"> $(document).ready(function(){ $("#featured > ul").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 7000, true); }); </script> <div id="featured" > <ul class="ui-tabs-nav"> <?php $contador=1; ?> <?php do { ?> <li class="ui-tabs-nav-item ui-tabs-selected" id="nav-fragment-<?php echo $contador; ?>"><a href="#fragment-<?php echo $contador; ?>"><img src="images/slider/<?php echo $row_datosSlider['strImagenPequena']; ?>" alt="" /><?php echo $row_datosSlider['strMenu']; ?></a></li> <?php $contador++; </ul> <?php <!-- First Content --> <?php $contador=1; ?> <?php do { ?> <div id="fragment-<?php echo $contador; ?>" class="ui-tabs-panel" style=""> <img src="images/slider/<?php echo $row_datosSlider['strImagenGrande']; ?>" alt="" /> <div class="info" > <h2><a href="<?php echo $row_datosSlider['strLink']; ?>" ><?php echo $row_datosSlider['strTitulo']; ?></a></h2> <p><?php echo $row_datosSlider['strSubtitulo']; ?> <a href="<?php echo $row_datosSlider['strTitulo']; ?>" >Leer más</a></p> </div> </div> <?php $contador++; </div> <?php ?>
AYUDA! que estoy haciendo mal? gracias