$query = "select * from 'ciste_media' where ".$medium."= ".$medium." and ".$typ."= ".$typ."
and ".$kusy."= ".$kusy." and ".$obal."= ".$obal." and znacka like '%".$vyraz."%' order by kusy
ASC";
$result = mysql_query($query); this is line 38
Please, is this correct form and syntax for this selection? Wrote me :Supplied argument is not a valid MySQL result resource in c:\apache\htdocs\cd_shop\hladanie_ciste_media.php on line 38 Thank tou