Web Analytics Made Easy -
StatCounter mysql include? - CodingForum

Announcement

Collapse
No announcement yet.

mysql include?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • mysql include?

    This seems like a really simple question, i have

    Code:
    $get_name = mysql_query("SELECT `id`, `name`, `link`, `value`, `description` from `offers` WHERE `countries` = 'us' LIMIT 0, 25");
    how would i make it so its
    Code:
    WHERE `countries` INCLUDES 'us'
    ?
    Ever want to see inside of a rave? Check out RedRoll and join our community of EDM lovers and rave fanatics.

  • #2
    nevermind! google helped me. it was where 'countries' like '%us%'
    Ever want to see inside of a rave? Check out RedRoll and join our community of EDM lovers and rave fanatics.

    Comment

    Working...
    X