Jump to content

[SOLVED] UNLIKE? vs LIKE


erikjan

Recommended Posts

Can someone please help. Thanks!

 

In SELECT you can use LIKE.

UNLIKE does not exist, but I would like to retrieve the following data from the database.

 

 $sql="SELECT * FROM objects WHERE object_rubric='1' AND object_artist_name LIKE 'd%' AND object_xx UNLIKE 'blabla%' AND (object_date_sold='0' OR object_sold_stay='1') ORDER BY object_artist_name ASC LIMIT $from, $max_results";

 

Which syntax can I use instead of UNLIKE ??

 

Thanks in advance!!

Link to comment
https://forums.phpfreaks.com/topic/49461-solved-unlike-vs-like/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.