Question: I have table in html file (fragment what interesting me):

```
<h3 class="subTitle">Odbitki</h3>
<div class="subtitleBottomEdge"></div>
<div class="pad10">
  <table class="mainContentArea">
    <tr>
      <td class="labelFont">Wszystkie odbitki:</td>
      <td class="itemFont">49946</td>
    </tr>
    <tr>
      <td class="labelFont">Kompletne odbitki równoważności (A4/Letter):</td>
      <td class="itemFont">49945.4</td>
    </tr>
    <tr>
      <td class="labelFont">Arkusze dwustronne:</td>
      <td class="itemFont">2735</td>
    </tr>
  </table>
</div>

```

What I need is just to show a number after "Wszystkie odbitki" like: `Wszystkie odbitki: 49946`

I know it is possible in simple\_html\_dom but I don't know how to do it using PHP.

Code:

```
require_once('simple_html_dom.php');

$html = file_get_html('http://127.0.0.1/tabela.html');

$table = null;
$needle = 'Odbitki';
foreach($html->find('h3') as $marker) {
  if ($marker->innertext == $needle) {
    $table = $marker->next_sibling();
    break;
  }
}
$data = array();
if ($table) {
  foreach($table->children() as $k => $tr) {
    foreach($tr->children as $td) {
      $data[$k][] = $td->innertext;
    }
  }
}
echo '<pre>';
print_r($data);

```

Answer: 
In Python interactive shell:  

If you declare a variable, then when you type the name of that variable, Python interactive shell will return the value of it. Because there are many data types, if you declare a string, and then call it, Python interactive shell will display it with quotes around, so that you can know it is a string

```
>>> str = "Hello"
>>> str
'Hello'

```

If you use the `print()` function to print the string out, then the string is being "printed". No quotes. Nothing more, nothing less.
When you simply write >>>str you are calling that variable, so the single quotes help to denote that it is a string, but using the print() function it prints the contents of str to the IDLE. Hope this helps :)