To DragonBehemont : diki ale pomohol mi google prepacte za zbytocnu temu
tu je kod:
$sql = mysql_query("SELECT * FROM zapasy GROUP BY domaci");
$aUsers = array();
while($s=mysql_fetch_array($sql))
{
$aUsers[] = $s['domaci'];
}
To DragonBehemont : diki ale pomohol mi google prepacte za zbytocnu temu
tu je kod:
$sql = mysql_query("SELECT * FROM zapasy GROUP BY domaci");
$aUsers = array();
while($s=mysql_fetch_array($sql))
{
$aUsers[] = $s['domaci'];
}
$sql = mysql_query("SELECT * FROM zapasy");
while($s=mysql_fetch_array($sql))
{
$aUsers = array(
);
}
$aInfo = array(
"aaaaaaa",
"bbbbbb",
);
To netman92 :
dakujem, moc si mi pomohol :)
tak problem som vyriesil mal som takyto kod:
<?
$cas = time();
mysql_query("SELECT * FROM tabulka WHERE stlpec NOT LIKE 0 AND time < $cas");
<?
$cas = time();
mysql_query("SELECT * FROM tabulka WHERE stlpec NOT LIKE '0' AND time < $cas");