WordPress.org

Ready to get started?Download WordPress

Forums

how to check if rows name exists (1 post)

  1. Mihail Semjonov
    Member
    Posted 2 years ago #

    hello!

    I can't find enywhere how to check if in tables row in 'name' collom is providet name ?

    for example:
    I have table, with 1 row. It has 'name' = 'Test', 'meta' = 'Meta';

    How to check all rows in table if ('name' == 'Test') { echo 'exists';} with wpdb fucntion ??

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by Mihail Semjonov
  • This topic is not resolved
  • WordPress version: 3.4.1