title: php - get meta value by using meta key from mysql
body: <p>I have a query like
  <strong>SELECT *
  FROM <code>membermetas</code>
  WHERE memberId =15</strong></p>
  
  <p>Table image : </p>
  
  <p><img src="https://i.stack.imgur.com/QqF81.png" alt="enter image description here"></p>
  
  <p>and my php code is</p>
  
  <pre><code>$memberMetaQuery = "select * from membermetas where memberId='$id'";
  $getMemberMeta = mysql_query($memberMetaQuery);
  $memberMetaRow = mysql_fetch_array($getMemberMeta);
  </code></pre>
  
  <p>when i use "<code>echo $memberMetaRow['memberMeta']</code>" without while loop, it turns the last row. </p>
  
  <p>For example:<br>
  i would like to use only the row "<code>eposta</code>" and its value "<code>mail@mymail.com</code>"<br>
  is there any selector for this?</p>
  
  <p>I think that, maybe i can use like <code>$memberMetaRow['memberMeta']['eposta']</code> but it's not working as you know :)</p>
  
  <p>How can i get this meta value without using mysql query?<br>
  is this possible with a php selector?</p>