Hi,
I’m not sure if this is possible to do.
Basically I have a database (hundreds of rows)
i.e
category | name
56546 | bla
1111 | bla
456456 | bla
4562345 | bla
3242 | bla
1111 | bla
1111 | bla
554534 | bla
….. | ….
… | …
I want to show every row but omit rows that contain ‘1111’ in Category. My coding is as follows at the moment this is perfect for showing every row. How would I amend this to omit ‘1111’.
<?php
$result= mysql_query("SELECT * FROM dbname WHERE category LIKE '%' ORDER BY name");
while($row = mysql_fetch_array( $result ))
{ echo $row['Link_Name']; }
?>
Many Thanks