Zdravim mam problem s php podla vasho navodu som si us davnejsie nainstaloval apache mysql a php na pc a nedavno sa mi dodrbala mysql a ked som si to asi na treti krat spravne nainstaloval a opet si obnovil databazu a nahodil svoje stare scripty sa mi to zacalo zobrazovat uplne inak a v php nesom zaciatocnik ale stym som sa este nestretol a skusal som si nainstalovat aj wamp server a robilo to to iste takze myslim si ze je problem s kodom ktory predtym bezal bez chybicky...
pripajam screen a kod...
Kód:
http://spargi.warspam.net/chyba.bmp
a tu je kod
Kód:
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script>
$("document").ready(function(){
$("li.cennik ul").hide();
$("li.cennik:has(ul)>a").click(function(){
$(this).next("ul").slideToggle();
return false;
}).dblclick(function(){
window.location = $(this).attr("href");
});
});
</script>
<?
include("include/_head.php");
echo "
<table border='0' cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='blok_head'>
<b>Cenník služieb</b>
<br><hr width='95%' size='1' color='white' align='center' noshade>
</td>
</tr>
<tr>
<td class='blok_text' valign='top'>
<br><br>
<center><ul>";
$gamesquery = dbquery("SELECT * FROM games");
if(dbrows($gamesquery) != 0){
while($games = dbarray($gamesquery)){
$cennik = dbarray(dbquery("SELECT * FROM cennik WHERE cennik_games_id = '".$games['games_id']."' ORDER BY cennik_platny DESC LIMIT 1"));
echo "
<li class='cennik'>
<a href='#'><b>".$games['games_meno']."</b></a>
<ul>
<li class='cennik'>
<table border='0' cellpadding='0' cellspacing='0'>
<tr>
<td class='tbl1' style=''>
<table border='0' cellpadding='0' cellspacing='0'>
<tr>
<td rowspan='3'>
<img src='images/game/cs_1.6.png'>
</td>
<td style='width: 70px; text-align: right; font-size: 12; color: white; padding-right: 10px;'>
<b>".$games['games_minslot']." slotov:</b>
</td>
<td style='font-size: 12; color: red; padding-right: 10px;'>
".$cennik['cennik_cena_1']." Eur / ".($cennik['cennik_cena_1'] * 30.126)." Skk
</td>
</tr>
<tr>
<td style='width: 70px; text-align: right; font-size: 12; color: white; padding-right: 10px;'>
<b>+".$games['games_slot']." slot:</b>
</td>
<td style='font-size: 12; color: red; padding-right: 10px;'>
".$cennik['cennik_cena_2']." Eur / ".($cennik['cennik_cena_2'] * 30.126)." Skk
</td>
</tr>
<tr>
<td style='width: 70px; text-align: center; font-size: 12; color: white; padding-right: 10px;' colspan='2'>
<b>Uvedené ceny su za jeden kalendárny mesiac<br><br> Konverzný kurz: 30.126 Skk</b>
</td>
</tr>
</table>
</td>
</tr>
</table>
</li>
</ul>
</li><br>";
}
}
echo "
</ul>
</center>
</td>
</tr>
<tr>
<td class='blok_foot'>
</td>
</tr>
</table>
";
include_once("include/_panels.php");
include_once("include/_foot.php");
?>
za odpovede a rady dakujem pomozete mi