two words from the form below and one simple query after, doesnt work, what
to do to make it work
<FORM ACTION=search.php METHOD=POST>
<INPUT TYPE=TEXT NAME=search size=20>
<INPUT TYPE=TEXT NAME=search1 size=20>
<INPUT TYPE="submit" VALUE="Proceed query">
</FORM>
<?
//this one works fine: "select * from table_1 where dane like '%$search%'"
//but i wanna the one below to work
$query = "select * from table_1 where dane (like '%$search%') or dane (like
'%search1%')";
//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^
//DOESNT WORK, WHY?
$result = mysql_query($query);
while($row = mysql_fetch_row($result)){
print_r($row[0]);
echo '<br>';
....