title: How do i take a specific last value from MySQL
body: <p>So, I query a database and I succeed with this query:</p>
  
  <pre><code>$sql = 'SELECT * FROM log WHERE dokumen_name LIKE "%A12345%" ORDER BY Id DESC LIMIT 1';
  </code></pre>
  
  <p>and the result is this:
  <a href="https://i.stack.imgur.com/aAXNe.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aAXNe.jpg" alt="value"></a></p>
  
  <p>Then I want to take from the red box to put it in here:</p>
  
  <pre><code>&lt;h3&gt;di Posisi sekarang: &lt;?php echo $row["lokasi"];  ?&gt;&lt;/h3&gt;
  </code></pre>
  
  <p>but it did not show up, how do I do that?</p>