na początku mam taki skrypcik:
Kod: Zaznacz cały
<script type="text/javascript">
$(function(){
var abc = $('select#speed').selectToUISlider().next();
abc.bind('slidechange', function(event, ui) {
document.cookie = "abon ="+document.getElementById("speed").value;
<?php
$ii=$_GET['phone'];
htmlspecialchars($ii);
strip_tags($ii);
mysql_real_escape_string($ii);
$query="SELECT * FROM plus_prices where pr_telefon='$ii' and abonament=$_COOKIE[abon]";
echo "alert(\"$query\");";
$result=mysql_query($query);
$row = mysql_fetch_array($result);
$cena = $row['cena'];
?>
document.getElementById("cena").value=<?php echo "$cena" ?>
});
});
</script>I jest jeszcze jeden problem... strona trochę dziwnie wyświetla się w IE, pod menu dodaje jakimś dziwnym sposobem jeszcze jeden blok :/