title: Email not picking up user first name from a row in mysql database table
body: <p>I am sending the birthday wishes email to all the users whose birthday is on the current date and also in the next 07 days.</p>
  
  <p>But the email body is not picking up the first name of the user to whom that email is being sent.</p>
  
  <p>The email body just says: Hello</p>
  
  <p>Rather it should say: Hello {first name}</p>
  
  <p>The code is:</p>
  
  <pre><code>&lt;?php
  
      $query_birth = mysql_query("select email_address from table_name where DATE_ADD(birth_date, INTERVAL YEAR( CURDATE( ) ) - YEAR(birth_date) + IF( DAYOFYEAR( CURDATE( ) ) &gt; DAYOFYEAR(birth_date) , 1, 0 ) YEAR ) BETWEEN CURDATE( ) AND DATE_ADD( CURDATE( ) , INTERVAL 7 DAY )");
  
      $count_birth = mysql_num_rows($query_birth);
  
      if(!empty($count_birth)) {
  
          while($row_birth = mysql_fetch_array($query_birth)) {
  
                  $headers = 'From: admin@example.com' . "\r\n";
                  $message = 'Hello  '.$row_birth['user_first_name'].'';
                  mail($row_birth['email_address'], 'Happy Birthday', $message, $headers);
          }
      }
  ?&gt;
  </code></pre>
  
  <p>Not sure what mistake I have done?</p>