<?php$i = 0;while ($row = mysql_fetch_array($result)){?>variableslide[<?php echo $i; ?>] = ['<?php echo "/images/ofertas/".$row['Imagen_oferta']; ?>', '', ''];<?php$i++;}?>