title: php, Where does the print statement print
body: <p>I'm making a modification to the following code.  I'm a newbie.
  The code below is a short segment from a much longer code that scans a mySQL database every 5 minutes for specific events.  The event below is triggered if a stock price exceeds a preset set value.  Once the event is triggered a character string is constructed (called $body) and an email is sent.</p>
  
  <p>The statement: "$body .="    makes sense to me and results in string of data that is eventually emailed.
  The question is:  where does the "print" statement print. 
  Is it going to a log.  It is not appearing on my computer screen anywhere.</p>
  
  <pre><code>if (!empty($symbol_alert['alert_buy_stop']) &amp;&amp; (float)$symbol_alert['alert_buy_stop'] &lt; (float)$unique_symbol_data[$symbol_alert['symbol']]['price']) {
  
  print "Price 'Buy Stop' triggered for symbol_id -&gt; {$symbol_alert['id']} for user_id -&gt; {$symbol_alert['user_id']}".PHP_EOL;
  
  $body .= 
  '
  Your BUY STOP price is: $'.number_format($symbol_alert['alert_buy_stop'],2);
                                  $alerts_count++;
                          }
  </code></pre>