buen dia, alguien me puede ayudar?
me sale este codigo de error
Código BASH:
Ver originalWarning: 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) {
}
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ?
intval($theValue) : "NULL"; break;
case "double":
$theValue = ($theValue != "") ?
doubleval($theValue) : "NULL"; break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
}
return $theValue;
}
}
$maxRows_datosSlider = 4;
$pageNum_datosSlider = 0;
if (isset($_GET['pageNum_datosSlider'])) { $pageNum_datosSlider = $_GET['pageNum_datosSlider'];
}
$startRow_datosSlider = $pageNum_datosSlider * $maxRows_datosSlider;
mysql_select_db($database_conexionciudadcristiana, $conexionciudadcristiana); $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);
if (isset($_GET['totalRows_datosSlider'])) { $totalRows_datosSlider = $_GET['totalRows_datosSlider'];
} else {
}
$totalPages_datosSlider = ceil($totalRows_datosSlider/$maxRows_datosSlider)-1; ?>
<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