Please I need help. I need load random companies from database where sk_popis, kategorie1 and who it edit is NULL.
<?php
    if ($akce=="vyber_firmu") {
        $query=mysql_query("SELECT sk_popis, kategorie1, upravil FROM firmy_popisy INNER JOIN firmy ON firmy_popisy.id = firmy.id LIMIT 1");  
        $tmpq=mysql_fetch_array($query);
        header("Location: upravafirem.php?id=$tmpq[id]");
        exit;
    }
?>
Thanks for tips
 
     
    