preg_match_all tr/td/th problem

I want all the trs tds and ths extracted

<?php
$text = '
<table>
<tr>
<th>Unit Type</th>
<th>Availability</th>
<th>Rates</th>
</tr>

<tr>
<td>One Bedroom</td>
<td>Call for Availability</td>
<td>hello</td>
</tr>

<tr>
<td>One Living Room</td>
<td>Call for Availability</td>
<td>hello</td>
</tr>
</table>';
$extract_th="#<th.*>(.+)</th#Ui";
$extract_tr="/<tr>(.*)<\\/tr>/isU";
$extract_td="/<td.*>(.*)<\\/td>/Ui";
echo $text."<br />\
";
preg_match_all($extract_tr, $text, $match_tr, PREG_SET_ORDER);
//print_r($match_tr[1][1]);
for($i=0; $i<count($match_tr); $i++){
	for($td=0; $td<count($match_tr[$i]); $td++){
		preg_match_all($extract_td, $match_tr[$i][$td], $match_td, PREG_SET_ORDER);
		print_r($match_td[$i]);
	}
}
?> 

I’m getting:

Array
(
    [0] => <td>Call for Availability</td>
    [1] => Call for Availability
)
Array
(
    [0] => <td>Call for Availability</td>
    [1] => Call for Availability
)
Array
(
    [0] => <td>hello</td>
    [1] => hello
)
Array
(
    [0] => <td>hello</td>

    [1] => hello
)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title></title>
</head>

<body>
<?php
$text = '<table><tr><th>Unit Type</th><th>Availability</th><th>Rates</th></tr><tr><td>One Bedroom</td><td>Call for Availability</td><td>hello</td></tr><tr><td>One Living Room</td><td>Call not for Availability</td><td>hello</td></tr></table>';
$extract_th="#<th.*>(.+)</th#Ui";
$extract_tr="/<tr>(.*)<\\/tr>/isU";
$extract_td="/<td.*>(.*)<\\/td>/Ui";


echo $text."<br />\
";
preg_match_all($extract_tr, $text, $match_tr, PREG_SET_ORDER);
//print_r($match_tr[1][1]);
//var_dump($match_tr);
//echo count($match_tr);

//print_r($match_tr);
//print_r($match_tr[0][1]);
//print_r($match_tr[1][1]);
//print_r($match_tr[2][1]);

preg_match($extract_td, $match_tr[0][1], $match_th);
print_r($match_th);

for($td=1; $td<count($match_tr); $td++){
	//preg_match_all($extract_td, $match_tr[$td][1], $match_td, PREG_SET_ORDER);
	echo "[".$match_tr[$td][1]."]<br />\
";
	preg_match($extract_td, $match_tr[$td][1], $match_td);
	print_r($match_td[$td]);
}
?>
</body>
</html>

The output:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title></title>
</head>

<body>
<table><tr><th>Unit Type</th><th>Availability</th><th>Rates</th></tr><tr><td>One Bedroom</td><td>Call for Availability</td><td>hello</td></tr><tr><td>One Living Room</td><td>Call not for Availability</td><td>hello</td></tr></table><br />

Array
(
)
[<td>One Bedroom</td><td>Call for Availability</td><td>hello</td>]<br />
One Bedroom[<td>One Living Room</td><td>Call not for Availability</td><td>hello</td>]<br />

</body>
</html>

It’s not working.

<?php
$text = '<table><tr><th>Unit Type</th><th>Availability</th><th>Rates</th></tr><tr><td>One Bedroom</td><td>Call for Availability</td><td>hello</td></tr><tr><td>One Living Room</td><td>Call not for Availability</td><td>hello</td></tr></table>';
$extract_th="#<th.*>(.+)</th#Ui";
//$extract_tr="/<tr>(.*)<\\/tr>/isU";
$extract_tr='@<tr>(.*)<\\/tr>@siU';
$extract_td="/<td.*>(.*)<\\/td>/Ui";

echo $text."<br />\
";
preg_match_all($extract_tr, $text, $match_tr, PREG_SET_ORDER);
//print_r($match_tr[1][1]);
//var_dump($match_tr);
//echo count($match_tr);

print_r($match_tr);
echo "[".$match_tr[0][1]."]<br />\
";
echo "[".$match_tr[1][1]."]<br />\
";
echo "[".$match_tr[2][1]."]<br />\
";

//preg_match($extract_td, $match_tr[0][1], $match_th);
//print_r($match_th);

for($td=1; $td<count($match_tr); $td++){
	//preg_match_all($extract_td, $match_tr[$td][1], $match_td, PREG_SET_ORDER);
	//echo "[".$match_tr[$td][1]."]<br />\
";
	preg_match($extract_td, $match_tr[$td][1], $match_td);
	print_r($match_td);
}
?> 

Why is it that the

	preg_match($extract_td, $match_tr[$td][1], $match_td);
	print_r($match_td);

in the for loop prints

Array ( [0] => One Bedroom [1] => One Bedroom ) Array ( [0] => One Living Room [1] => One Living Room )

and not the whole thing? That’s my question.

Giving this a try…

<!DOCTYPE html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
<?php
	$text = '
		<table>
			<tr>
				<th>Unit Type</th>
				<th>Availability</th>
				<th>Rates</th>
			</tr>
			<tr>
				<td>One Bedroom</td>
				<td>Call for Availability</td>
				<td>hello</td>
			</tr>
			<tr>
				<td>One Living Room</td>
				<td>Call not for Availability</td>
				<td>hello</td>
			</tr>
			<tr>
				<td>Two Bedrooms</td>
				<td>Not Availabile</td>
				<td>Good Bye</td>
			</tr>			
		</table>';
	echo $text;

	$dom = new DOMDocument();
	$dom->loadHTML($text);

	// Initialize arrays
	$thArray = $tdArray = $array = array();

	// Get all Table Headers and throw them in an array
	$th = $dom->getElementsByTagName('th');
	foreach ( $th as $th ) {
		$thArray[] = $th->nodeValue;
	}
	// count the array for future comparison
	$count = count($thArray);
	
	/* Example:
		Array
		(
			[0] => Unit Type
			[1] => Availability
			[2] => Rates
		)
	*/

	// Get all the Table Cells, but if it matches the same count as the Table Header array, create a new array row
	$td = $dom->getElementsByTagName('td');
	$i = 0;
	foreach( $td as $td ) {
		if(count($tdArray[$i]) != $count) {
			$tdArray[$i][] = $td->nodeValue;
		} else {
			$i++;
			$tdArray[$i][] = $td->nodeValue;
		}
	}

	/* Example
		Array
		(
			[0] => Array
				(
				    [0] => One Bedroom
				    [1] => Call for Availability
				    [2] => hello
				)

			[1] => Array
				(
				    [0] => One Living Room
				    [1] => Call not for Availability
				    [2] => hello
				)

			[2] => Array
				(
				    [0] => Two Bedrooms
				    [1] => Not Availabile
				    [2] => Good Bye
				)

		)
	*/	

	// Make a new array based from the tdArray, to match with the thArray's keys 
	for( $j = 0; $j < sizeof($thArray); ++$j) {
		foreach( $tdArray as $k=>$v ) {
			$array[$j][] = $v[$j];
		}
	}
	
	/* Example:
		Array
		(
			[0] => Array
				(
				    [0] => One Bedroom
				    [1] => One Living Room
				    [2] => Two Bedrooms
				)

			[1] => Array
				(
				    [0] => Call for Availability
				    [1] => Call not for Availability
				    [2] => Not Availabile
				)

			[2] => Array
				(
				    [0] => hello
				    [1] => hello
				    [2] => Good Bye
				)

		)
	*/	

	echo '<pre>';
		print_r(array_combine($thArray, $array));
	echo '</pre>';

?> 		
	</body>
</html>

Result:

Array
(
    [Unit Type] => Array
        (
            [0] => One Bedroom
            [1] => One Living Room
            [2] => Two Bedrooms
        )

    [Availability] => Array
        (
            [0] => Call for Availability
            [1] => Call not for Availability
            [2] => Not Availabile
        )

    [Rates] => Array
        (
            [0] => hello
            [1] => hello
            [2] => Good Bye
        )

)

But I want the array to be by row and not by column because I want to insert them in the db table row by row.

You can just combine the thArray & tdArrays like so:


<!DOCTYPE html>
    <head>
        <meta charset="UTF-8">
        <title></title>
    </head>
    <body>
<?php
    $text = '
        <table>
            <tr>
                <th>Unit Type</th>
                <th>Availability</th>
                <th>Rates</th>
            </tr>
            <tr>
                <td>One Bedroom</td>
                <td>Call for Availability</td>
                <td>hello</td>
            </tr>
            <tr>
                <td>One Living Room</td>
                <td>Call not for Availability</td>
                <td>hello</td>
            </tr>
            <tr>
                <td>Two Bedrooms</td>
                <td>Not Availabile</td>
                <td>Good Bye</td>
            </tr>
        </table>';
    echo $text;

    $dom = new DOMDocument();
    $dom->loadHTML($text);

    // Initialize arrays
    $thArray = $tdArray = $array = array();

    // Get all Table Headers and throw them in an array
    $th = $dom->getElementsByTagName('th');
    foreach ( $th as $th ) {
        $thArray[] = $th->nodeValue;
    }
    // count the array for future comparison
    $count = count($thArray);

    /* Example:
        Array
        (
            [0] => Unit Type
            [1] => Availability
            [2] => Rates
        )
    */

    // Get all the Table Cells, but if it matches the same count as the Table Header array, create a new array row
    $td = $dom->getElementsByTagName('td');
    $i = 0;
    foreach( $td as $td ) {
        if(count($tdArray[$i]) != $count) {
            $tdArray[$i][] = $td->nodeValue;
        } else {
            $i++;
            $tdArray[$i][] = $td->nodeValue;
        }
    }

    echo '<pre>';
        print_r(array_combine($thArray, $tdArray));
    echo '</pre>';

?>
    </body>
</html>

Gives you:


Array
(
    [Unit Type] => Array
        (
            [0] => One Bedroom
            [1] => Call for Availability
            [2] => hello
        )

    [Availability] => Array
        (
            [0] => One Living Room
            [1] => Call not for Availability
            [2] => hello
        )

    [Rates] => Array
        (
            [0] => Two Bedrooms
            [1] => Not Availabile
            [2] => Good Bye
        )

)

//looking for the ths
$file="saveddbtable/bible.htm";
$contents_of_page = file_get_contents($file);

$dom = new DOMDocument();
$dom->loadHTML($contents_of_page);
// Initialize arrays
$thArray = $tdArray = $array = array();
// Get all Table Headers and throw them in an array
$th = $dom->getElementsByTagName('th');
foreach ( $th as $th ){
	$thArray[] = $th->nodeValue;
}
// count the array for future comparison
$count = count($thArray);
/* Example:
Array(
[0] => Unit Type
[1] => Availability
[2] => Rates
)
*/
// Get all the Table Cells, but if it matches the same count as the Table Header array, create a new array row
$td = $dom->getElementsByTagName('td');
$i = 0;
foreach( $td as $td ) {
	if(count($tdArray[$i]) != $count){//line 101
		$tdArray[$i][] = $td->nodeValue;
	}else{
		$i++;
		$tdArray[$i][] = $td->nodeValue;
	}
	if($i=100){
		exit;
	}
}
echo '<pre>';
print_r(array_combine($thArray, $tdArray));
echo '</pre>';

Line 101 says:

Notice: Undefined offset: 0 in …\create_bible.php on line 101

I want to add a pagination at $i. Is it a good start? I limited $i at 100 and then exit the loop to test it first.

I want to extract the innerhtml from this table and store into an array. Howcome it’s giving the same notice:

$contents_of_page="<table><tr><th>id</th><th>book</th><th>book_spoke</th><th>recordType</th><th>book_title</th><th>chapter</th><th>chapter_spoke</th><th>verse</th><th>verse_spoke</th><th>text_data</th></tr><tr><td>1</td><td>1</td><td>1</td><td>gn</td><td>Genesis</td><td>1</td><td>1</td><td>1</td><td>1</td><td>In the beginning God created the heaven and the earth.</td></tr><tr><td>2</td><td>1</td><td>1</td><td>gn</td><td>Genesis</td><td>1</td><td>1</td><td>2</td><td>2</td><td>And the earth was without form, and void; and darkness was upon the face of the deep. And the Spirit of God moved upon the face of the waters.</td></tr><tr><td>3</td><td>1</td><td>1</td><td>gn</td><td>Genesis</td><td>1</td><td>1</td><td>3</td><td>3</td><td>And God said, Let there be light: and there was light.</td></tr><tr><td>4</td><td>1</td><td>1</td><td>gn</td><td>Genesis</td><td>1</td><td>1</td><td>4</td><td>4</td><td>And God saw the light, that it was good: and God divided the light from the darkness.</td></tr><tr><td>5</td><td>1</td><td>1</td><td>gn</td><td>Genesis</td><td>1</td><td>1</td><td>5</td><td>5</td><td>And God called the light Day, and the darkness he called Night. And the evening and the morning were the first day.</td></tr><tr><td>6</td><td>1</td><td>1</td><td>gn</td><td>Genesis</td><td>1</td><td>1</td><td>6</td><td>6</td><td>And God said, Let there be a firmament in the midst of the waters, and let it divide the waters from the waters.</td></tr><tr><td>7</td><td>1</td><td>1</td><td>gn</td><td>Genesis</td><td>1</td><td>1</td><td>7</td><td>7</td><td>And God made the firmament, and divided the waters which were under the firmament from the waters which were above the firmament: and it was so.</td></tr><tr><td>8</td><td>1</td><td>1</td><td>gn</td><td>Genesis</td><td>1</td><td>1</td><td>8</td><td>8</td><td>And God called the firmament Heaven. And the evening and the morning were the second day.</td></tr><tr><td>9</td><td>1</td><td>1</td><td>gn</td><td>Genesis</td><td>1</td><td>1</td><td>9</td><td>9</td><td>And God said, Let the waters under the heaven be gathered together unto one place, and let the dry land appear: and it was so.</td></tr><tr><td>10</td><td>1</td><td>1</td><td>gn</td><td>Genesis</td><td>1</td><td>1</td><td>10</td><td>10</td><td>And God called the dry land Earth; and the gathering together of the waters called he Seas: and God saw that it was good.</td></tr><tr><td>11</td><td>1</td><td>1</td><td>gn</td><td>Genesis</td><td>1</td><td>1</td><td>11</td><td>11</td><td>And God said, Let the earth bring forth grass, the herb yielding seed, and the fruit tree yielding fruit after his kind, whose seed is in itself, upon the earth: and it was so.</td></tr><tr><td>12</td><td>1</td><td>1</td><td>gn</td><td>Genesis</td><td>1</td><td>1</td><td>12</td><td>12</td><td>And the earth brought forth grass, and herb yielding seed after his kind, and the tree yielding fruit, whose seed was in itself, after his kind: and God saw that it was good.</td></tr><tr><td>13</td><td>1</td><td>1</td><td>gn</td><td>Genesis</td><td>1</td><td>1</td><td>13</td><td>13</td><td>And the evening and the morning were the third day.</td></tr><tr><td>14</td><td>1</td><td>1</td><td>gn</td><td>Genesis</td><td>1</td><td>1</td><td>14</td><td>14</td><td>And God said, Let there be lights in the firmament of the heaven to divide the day from the night; and let them be for signs, and for seasons, and for days, and years:</td></tr><tr><td>15</td><td>1</td><td>1</td><td>gn</td><td>Genesis</td><td>1</td><td>1</td><td>15</td><td>15</td><td>And let them be for lights in the firmament of the heaven to give light upon the earth: and it was so.</td></tr><tr><td>16</td><td>1</td><td>1</td><td>gn</td><td>Genesis</td><td>1</td><td>1</td><td>16</td><td>16</td><td>And God made two great lights; the greater light to rule the day, and the lesser light to rule the night: he made the stars also.</td></tr><tr><td>17</td><td>1</td><td>1</td><td>gn</td><td>Genesis</td><td>1</td><td>1</td><td>17</td><td>17</td><td>And God set them in the firmament of the heaven to give light upon the earth,</td></tr><tr><td>18</td><td>1</td><td>1</td><td>gn</td><td>Genesis</td><td>1</td><td>1</td><td>18</td><td>18</td><td>And to rule over the day and over the night, and to divide the light from the darkness: and God saw that it was good.</td></tr><tr><td>19</td><td>1</td><td>1</td><td>gn</td><td>Genesis</td><td>1</td><td>1</td><td>19</td><td>19</td><td>And the evening and the morning were the fourth day.</td></tr><tr><td>20</td><td>1</td><td>1</td><td>gn</td><td>Genesis</td><td>1</td><td>1</td><td>20</td><td>20</td><td>And God said, Let the waters bring forth abundantly the moving creature that hath life, and fowl that may fly above the earth in the open firmament of heaven.</td></tr><tr><td>21</td><td>1</td><td>1</td><td>gn</td><td>Genesis</td><td>1</td><td>1</td><td>21</td><td>21</td><td>And God created great whales, and every living creature that moveth, which the waters brought forth abundantly, after their kind, and every winged fowl after his kind: and God saw that it was good.</td></tr><tr><td>22</td><td>1</td><td>1</td><td>gn</td><td>Genesis</td><td>1</td><td>1</td><td>22</td><td>22</td><td>And God blessed them, saying, Be fruitful, and multiply, and fill the waters in the seas, and let fowl multiply in the earth.</td></tr><tr><td>23</td><td>1</td><td>1</td><td>gn</td><td>Genesis</td><td>1</td><td>1</td><td>23</td><td>1</td><td>And the evening and the morning were the fifth day.</td></tr></table>";
$dom = new DOMDocument();
$dom->loadHTML($contents_of_page);
// Initialize arrays
$thArray = $tdArray = $array = array();
// Get all Table Headers and throw them in an array
$th = $dom->getElementsByTagName('th');
foreach ( $th as $th ){
	$thArray[] = $th->nodeValue;
}
// count the array for future comparison
$count = count($thArray);
/* Example:
Array(
[0] => Unit Type
[1] => Availability
[2] => Rates
)
*/
// Get all the Table Cells, but if it matches the same count as the Table Header array, create a new array row
$td = $dom->getElementsByTagName('td');
$i = 0;
foreach( $td as $td ) {
	if(count($tdArray[$i]) != $count){
		$tdArray[$i][] = $td->nodeValue;
	}else{
		$i++;
		$tdArray[$i][] = $td->nodeValue;
	}
	if($i=100){
		exit;
	}
}
echo '<pre>';
print_r(array_combine($thArray, $tdArray));
echo '</pre>';

How about extracting the innerhtml of the following:

<td class="td_bible_text" valign="top"><span class='GkBibleText'>&#7992;&#969;&#963;&#8052;&#966; &#948;&#8050; &#8001; &#7936;&#957;&#8052;&#961; &#945;&#8016;&#964;&#8134;&#962; &#948;&#8055;&#954;&#945;&#953;&#959;&#962; &#8034;&#957;, &#954;&#945;&#8054; &#956;&#8052; &#952;&#8051;&#955;&#969;&#957; &#945;&#8016;&#964;&#8052;&#957; &#960;&#945;&#961;&#945;&#948;&#949;&#953;&#947;&#956;&#945;&#964;&#8055;&#963;&#945;&#953;, &#7952;&#946;&#959;&#965;&#955;&#8053;&#952;&#951; &#955;&#8049;&#952;&#961;&#945; &#7936;&#960;&#959;&#955;&#8166;&#963;&#945;&#953; &#945;&#8016;&#964;&#8053;&#957; </div>
		</td>

Strangely the span tag closes with </div> and not </span>.

How can I get the Greek part in this:

<pre>array(26) {
  [0]=>
  string(85) "<span class="reftext"><a href="http://biblos.com/matthew/1-1.htm"><b>1</b></a></span>"
  [1]=>
  string(197) "&#914;&#943;&#946;&#955;&#959;&#962; &#947;&#949;&#957;&#941;&#963;&#949;&#969;&#962; &#7992;&#951;&#963;&#959;&#8166; &#935;&#961;&#953;&#963;&#964;&#959;&#8166;, &#965;&#7985;&#959;&#8166; &#916;&#945;&#946;&#943;&#948;, &#965;&#7985;&#959;&#8166; &#7944;&#946;&#961;&#945;&#940;&#956;<p>
<span class="reftext"><a href="http://biblos.com/matthew/1-2.htm"><b>2</b></a></span>"
  [2]=>
  string(315) "&#7944;&#946;&#961;&#945;&#8048;&#956; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#7992;&#963;&#945;&#940;&#954;· &#7992;&#963;&#945;&#8048;&#954; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#7992;&#945;&#954;&#974;&#946;· &#7992;&#945;&#954;&#8060;&#946; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#7992;&#959;&#973;&#948;&#945;&#957; &#954;&#945;&#8054; &#964;&#959;&#8058;&#962; &#7936;&#948;&#949;&#955;&#966;&#959;&#8058;&#962; &#945;&#8016;&#964;&#959;&#8166;
<span class="reftext"><a href="http://biblos.com/matthew/1-3.htm"><b>3</b></a></span>"
  [3]=>
  string(313) "&#7992;&#959;&#973;&#948;&#945;&#962; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#934;&#940;&#961;&#949;&#962; &#954;&#945;&#8054; &#964;&#8056;&#957; &#918;&#940;&#961;&#945; &#7952;&#954; &#964;&#8134;&#962; &#920;&#945;&#956;&#940;&#961;· &#934;&#940;&#961;&#949;&#962; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#7961;&#963;&#961;&#974;&#956;· &#7961;&#963;&#961;&#8060;&#956; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#7944;&#961;&#940;&#956;

<span class="reftext"><a href="http://biblos.com/matthew/1-4.htm"><b>4</b></a></span>"
  [4]=>
  string(284) "&#7944;&#961;&#8048;&#956; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#7944;&#956;&#953;&#957;&#945;&#948;&#940;&#946;· &#7944;&#956;&#953;&#957;&#945;&#948;&#8048;&#946; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#925;&#945;&#945;&#963;&#963;&#974;&#957;· &#925;&#945;&#945;&#963;&#963;&#8060;&#957; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#931;&#945;&#955;&#956;&#974;&#957;
<span class="reftext"><a href="http://biblos.com/matthew/1-5.htm"><b>5</b></a></span>"
  [5]=>
  string(312) "&#931;&#945;&#955;&#956;&#8060;&#957; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#914;&#959;&#8056;&#950; &#7952;&#954; &#964;&#8134;&#962; &#8172;&#945;&#967;&#940;&#946;· &#914;&#959;&#8056;&#950; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#8040;&#946;&#8052;&#948; &#7952;&#954; &#964;&#8134;&#962; &#8172;&#959;&#973;&#952;· &#8040;&#946;&#8052;&#948; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#7992;&#949;&#963;&#963;&#945;&#943;
<span class="reftext"><a href="http://biblos.com/matthew/1-6.htm"><b>6</b></a></span>"
  [6]=>
  string(296) "&#7992;&#949;&#963;&#963;&#945;&#8054; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#916;&#945;&#946;&#8054;&#948; &#964;&#8056;&#957; &#946;&#945;&#963;&#953;&#955;&#941;&#945;· &#916;&#945;&#946;&#8054;&#948; &#948;&#8050; &#8001; &#946;&#945;&#963;&#953;&#955;&#949;&#8058;&#962; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#931;&#959;&#955;&#959;&#956;&#8182;&#957;&#964;&#945; &#7952;&#954; &#964;&#8134;&#962; &#964;&#959;&#8166; &#927;&#8016;&#961;&#943;&#959;&#965;
<span class="reftext"><a href="http://biblos.com/matthew/1-7.htm"><b>7</b></a></span>"
  [7]=>
  string(266) "&#931;&#959;&#955;&#959;&#956;&#8060;&#957; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#8172;&#959;&#946;&#959;&#940;&#956;· &#8172;&#959;&#946;&#959;&#8048;&#956; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#7944;&#946;&#953;&#940;· &#7944;&#946;&#953;&#8048; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#7944;&#963;&#940;
<span class="reftext"><a href="http://biblos.com/matthew/1-8.htm"><b>8</b></a></span>"
  [8]=>
  string(271) "&#7944;&#963;&#8048; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#7992;&#969;&#963;&#945;&#966;&#940;&#964;· &#7992;&#969;&#963;&#945;&#966;&#8048;&#964; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#7992;&#969;&#961;&#940;&#956;· &#7992;&#969;&#961;&#8048;&#956; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#8008;&#950;&#943;&#945;&#957;
<span class="reftext"><a href="http://biblos.com/matthew/1-9.htm"><b>9</b></a></span>"
  [9]=>
  string(272) "&#8008;&#950;&#943;&#945;&#962; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#7992;&#969;&#945;&#952;&#940;&#956;· &#7992;&#969;&#945;&#952;&#8048;&#956; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#7944;&#967;&#940;&#950;· &#7944;&#967;&#8048;&#950; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#7961;&#950;&#949;&#954;&#943;&#945;&#957;
<span class="reftext"><a href="http://biblos.com/matthew/1-10.htm"><b>10</b></a></span>"
  [10]=>
  string(279) "&#7961;&#950;&#949;&#954;&#943;&#945;&#962; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#924;&#945;&#957;&#945;&#963;&#963;&#8134;· &#924;&#945;&#957;&#945;&#963;&#963;&#8134;&#962; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#7944;&#956;&#974;&#957;· &#7944;&#956;&#8060;&#957; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#7992;&#969;&#963;&#943;&#945;&#957;
<span class="reftext"><a href="http://biblos.com/matthew/1-11.htm"><b>11</b></a></span>"
  [11]=>
  string(267) "&#7992;&#969;&#963;&#943;&#945;&#962; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#7992;&#949;&#967;&#959;&#957;&#943;&#945;&#957; &#954;&#945;&#8054; &#964;&#959;&#8058;&#962; &#7936;&#948;&#949;&#955;&#966;&#959;&#8058;&#962; &#945;&#8016;&#964;&#959;&#8166; &#7952;&#960;&#8054; &#964;&#8134;&#962; &#956;&#949;&#964;&#959;&#953;&#954;&#949;&#963;&#943;&#945;&#962; &#914;&#945;&#946;&#965;&#955;&#8182;&#957;&#959;&#962;<p>

<span class="reftext"><a href="http://biblos.com/matthew/1-12.htm"><b>12</b></a></span>"
  [12]=>
  string(291) "&#924;&#949;&#964;&#8048; &#948;&#8050; &#964;&#8052;&#957; &#956;&#949;&#964;&#959;&#953;&#954;&#949;&#963;&#943;&#945;&#957; &#914;&#945;&#946;&#965;&#955;&#8182;&#957;&#959;&#962; &#7992;&#949;&#967;&#959;&#957;&#943;&#945;&#962; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#931;&#945;&#955;&#945;&#952;&#953;&#942;&#955;· &#931;&#945;&#955;&#945;&#952;&#953;&#8052;&#955; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#918;&#959;&#961;&#959;&#946;&#945;&#946;&#941;&#955;
<span class="reftext"><a href="http://biblos.com/matthew/1-13.htm"><b>13</b></a></span>"
  [13]=>
  string(290) "&#918;&#959;&#961;&#959;&#946;&#945;&#946;&#8050;&#955; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#7944;&#946;&#953;&#959;&#973;&#948;· &#7944;&#946;&#953;&#959;&#8058;&#948; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#7960;&#955;&#953;&#945;&#954;&#949;&#943;&#956;· &#7960;&#955;&#953;&#945;&#954;&#949;&#8054;&#956; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#7944;&#950;&#974;&#961;
<span class="reftext"><a href="http://biblos.com/matthew/1-14.htm"><b>14</b></a></span>"
  [14]=>
  string(267) "&#7944;&#950;&#8060;&#961; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#931;&#945;&#948;&#974;&#954;· &#931;&#945;&#948;&#8060;&#954; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#7944;&#967;&#949;&#943;&#956;· &#7944;&#967;&#949;&#8054;&#956; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#7960;&#955;&#953;&#959;&#973;&#948;
<span class="reftext"><a href="http://biblos.com/matthew/1-15.htm"><b>15</b></a></span>"
  [15]=>
  string(280) "&#7960;&#955;&#953;&#959;&#8058;&#948; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#7960;&#955;&#949;&#940;&#950;&#945;&#961;· &#7960;&#955;&#949;&#940;&#950;&#945;&#961; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#924;&#945;&#964;&#952;&#940;&#957;· &#924;&#945;&#964;&#952;&#8048;&#957; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#7992;&#945;&#954;&#974;&#946;
<span class="reftext"><a href="http://biblos.com/matthew/1-16.htm"><b>16</b></a></span>"
  [16]=>
  string(267) "&#7992;&#945;&#954;&#8060;&#946; &#948;&#8050; &#7952;&#947;&#941;&#957;&#957;&#951;&#963;&#949;&#957; &#964;&#8056;&#957; &#7992;&#969;&#963;&#8052;&#966; &#964;&#8056;&#957; &#7940;&#957;&#948;&#961;&#945; &#924;&#945;&#961;&#943;&#945;&#962; &#7952;&#958; &#7975;&#962; &#7952;&#947;&#949;&#957;&#957;&#942;&#952;&#951; &#7992;&#951;&#963;&#959;&#8166;&#962; &#8001; &#955;&#949;&#947;&#972;&#956;&#949;&#957;&#959;&#962; &#935;&#961;&#953;&#963;&#964;&#972;&#962;<p>
<span class="reftext"><a href="http://biblos.com/matthew/1-17.htm"><b>17</b></a></span>"
  [17]=>
  string(480) "&#928;&#8118;&#963;&#945;&#953; &#959;&#8022;&#957; &#945;&#7985; &#947;&#949;&#957;&#949;&#945;&#8054; &#7936;&#960;&#8056; &#7944;&#946;&#961;&#945;&#8048;&#956; &#7957;&#969;&#962; &#916;&#945;&#946;&#8054;&#948; &#947;&#949;&#957;&#949;&#945;&#8054; &#948;&#949;&#954;&#945;&#964;&#941;&#963;&#963;&#945;&#961;&#949;&#962; &#954;&#945;&#8054; &#7936;&#960;&#8056; &#916;&#945;&#946;&#8054;&#948; &#7957;&#969;&#962; &#964;&#8134;&#962; &#956;&#949;&#964;&#959;&#953;&#954;&#949;&#963;&#943;&#945;&#962; &#914;&#945;&#946;&#965;&#955;&#8182;&#957;&#959;&#962; &#947;&#949;&#957;&#949;&#945;&#8054; &#948;&#949;&#954;&#945;&#964;&#941;&#963;&#963;&#945;&#961;&#949;&#962; &#954;&#945;&#8054; &#7936;&#960;&#8056; &#964;&#8134;&#962; &#956;&#949;&#964;&#959;&#953;&#954;&#949;&#963;&#943;&#945;&#962; &#914;&#945;&#946;&#965;&#955;&#8182;&#957;&#959;&#962; &#7957;&#969;&#962; &#964;&#959;&#8166; &#935;&#961;&#953;&#963;&#964;&#959;&#8166; &#947;&#949;&#957;&#949;&#945;&#8054; &#948;&#949;&#954;&#945;&#964;&#941;&#963;&#963;&#945;&#961;&#949;&#962;<p>
<span class="reftext"><a href="http://biblos.com/matthew/1-18.htm"><b>18</b></a></span>"
  [18]=>
  string(408) "&#932;&#959;&#8166; &#948;&#8050; &#7992;&#951;&#963;&#959;&#8166; &#935;&#961;&#953;&#963;&#964;&#959;&#8166; &#7969; &#947;&#941;&#957;&#957;&#951;&#963;&#953;&#962; &#959;&#8021;&#964;&#969;&#962; &#7968;&#957;· &#956;&#957;&#951;&#963;&#964;&#949;&#965;&#952;&#949;&#943;&#963;&#951;&#962; &#947;&#8048;&#961; &#964;&#8134;&#962; &#956;&#951;&#964;&#961;&#8056;&#962; &#945;&#8016;&#964;&#959;&#8166; &#924;&#945;&#961;&#943;&#945;&#962; &#964;&#8183; &#7992;&#969;&#963;&#942;&#966;, &#960;&#961;&#8054;&#957; &#7970; &#963;&#965;&#957;&#949;&#955;&#952;&#949;&#8150;&#957; &#945;&#8016;&#964;&#959;&#973;&#962;, &#949;&#8017;&#961;&#941;&#952;&#951; &#7952;&#957; &#947;&#945;&#963;&#964;&#961;&#8054; &#7956;&#967;&#959;&#965;&#963;&#945; &#7952;&#954; &#960;&#957;&#949;&#973;&#956;&#945;&#964;&#959;&#962; &#7937;&#947;&#943;&#959;&#965;
<span class="reftext"><a href="http://biblos.com/matthew/1-19.htm"><b>19</b></a></span>"
  [19]=>
  string(287) "&#7992;&#969;&#963;&#8052;&#966; &#948;&#8050; &#8001; &#7936;&#957;&#8052;&#961; &#945;&#8016;&#964;&#8134;&#962; &#948;&#943;&#954;&#945;&#953;&#959;&#962; &#8034;&#957; &#954;&#945;&#8054; &#956;&#8052; &#952;&#941;&#955;&#969;&#957; &#945;&#8016;&#964;&#8052;&#957; &#960;&#945;&#961;&#945;&#948;&#949;&#953;&#947;&#956;&#945;&#964;&#943;&#963;&#945;&#953;, &#7952;&#946;&#959;&#965;&#955;&#942;&#952;&#951; &#955;&#940;&#952;&#961;&#8115; &#7936;&#960;&#959;&#955;&#8166;&#963;&#945;&#953; &#945;&#8016;&#964;&#942;&#957;

<span class="reftext"><a href="http://biblos.com/matthew/1-20.htm"><b>20</b></a></span>"
  [20]=>
  string(463) "&#964;&#945;&#8166;&#964;&#945; &#948;&#8050; &#945;&#8016;&#964;&#959;&#8166; &#7952;&#957;&#952;&#965;&#956;&#951;&#952;&#941;&#957;&#964;&#959;&#962; &#7984;&#948;&#959;&#973;, &#7940;&#947;&#947;&#949;&#955;&#959;&#962; &#954;&#965;&#961;&#943;&#959;&#965; &#954;&#945;&#964;' &#8004;&#957;&#945;&#961; &#7952;&#966;&#940;&#957;&#951; &#945;&#8016;&#964;&#8183; &#955;&#941;&#947;&#969;&#957;, &#7992;&#969;&#963;&#8052;&#966; &#965;&#7985;&#8056;&#962; &#916;&#945;&#946;&#943;&#948;, &#956;&#8052; &#966;&#959;&#946;&#951;&#952;&#8135;&#962; &#960;&#945;&#961;&#945;&#955;&#945;&#946;&#949;&#8150;&#957; &#924;&#945;&#961;&#953;&#8048;&#956; &#964;&#8052;&#957; &#947;&#965;&#957;&#945;&#8150;&#954;&#940; &#963;&#959;&#965;· &#964;&#8056; &#947;&#8048;&#961; &#7952;&#957; &#945;&#8016;&#964;&#8135; &#947;&#949;&#957;&#957;&#951;&#952;&#8050;&#957; &#7952;&#954; &#960;&#957;&#949;&#973;&#956;&#945;&#964;&#972;&#962; &#7952;&#963;&#964;&#953;&#957; &#7937;&#947;&#943;&#959;&#965;
<span class="reftext"><a href="http://biblos.com/matthew/1-21.htm"><b>21</b></a></span>"
  [21]=>
  string(305) "&#964;&#941;&#958;&#949;&#964;&#945;&#953; &#948;&#8050; &#965;&#7985;&#8056;&#957; &#954;&#945;&#8054; &#954;&#945;&#955;&#941;&#963;&#949;&#953;&#962; &#964;&#8056; &#8004;&#957;&#959;&#956;&#945; &#945;&#8016;&#964;&#959;&#8166; &#7992;&#951;&#963;&#959;&#8166;&#957;· &#945;&#8016;&#964;&#8056;&#962; &#947;&#8048;&#961; &#963;&#974;&#963;&#949;&#953; &#964;&#8056;&#957; &#955;&#945;&#8056;&#957; &#945;&#8016;&#964;&#959;&#8166; &#7936;&#960;&#8056; &#964;&#8182;&#957; &#7937;&#956;&#945;&#961;&#964;&#953;&#8182;&#957; &#945;&#8016;&#964;&#8182;&#957;
<span class="reftext"><a href="http://biblos.com/matthew/1-22.htm"><b>22</b></a></span>"
  [22]=>
  string(255) "&#932;&#959;&#8166;&#964;&#959; &#948;&#8050; &#8005;&#955;&#959;&#957; &#947;&#941;&#947;&#959;&#957;&#949;&#957; &#7989;&#957;&#945; &#960;&#955;&#951;&#961;&#969;&#952;&#8135; &#964;&#8056; &#8165;&#951;&#952;&#8050;&#957; &#8017;&#960;&#8056; &#964;&#959;&#8166; &#954;&#965;&#961;&#943;&#959;&#965; &#948;&#953;&#8048; &#964;&#959;&#8166; &#960;&#961;&#959;&#966;&#942;&#964;&#959;&#965; &#955;&#941;&#947;&#959;&#957;&#964;&#959;&#962;,
<span class="reftext"><a href="http://biblos.com/matthew/1-23.htm"><b>23</b></a></span>"
  [23]=>
  string(347) "&#7992;&#948;&#959;&#973;, &#7969; &#960;&#945;&#961;&#952;&#941;&#957;&#959;&#962; &#7952;&#957; &#947;&#945;&#963;&#964;&#961;&#8054; &#7957;&#958;&#949;&#953; &#954;&#945;&#8054; &#964;&#941;&#958;&#949;&#964;&#945;&#953; &#965;&#7985;&#972;&#957;, &#954;&#945;&#8054; &#954;&#945;&#955;&#941;&#963;&#959;&#965;&#963;&#953;&#957; &#964;&#8056; &#8004;&#957;&#959;&#956;&#945; &#945;&#8016;&#964;&#959;&#8166; &#7960;&#956;&#956;&#945;&#957;&#959;&#965;&#942;&#955;, &#8005; &#7952;&#963;&#964;&#953;&#957; &#956;&#949;&#952;&#949;&#961;&#956;&#951;&#957;&#949;&#965;&#972;&#956;&#949;&#957;&#959;&#957;, &#924;&#949;&#952;' &#7969;&#956;&#8182;&#957; &#8001; &#952;&#949;&#972;&#962;
<span class="reftext"><a href="http://biblos.com/matthew/1-24.htm"><b>24</b></a></span>"
  [24]=>
  string(315) "&#948;&#953;&#949;&#947;&#949;&#961;&#952;&#949;&#8054;&#962; &#948;&#8050; &#8001; &#7992;&#969;&#963;&#8052;&#966; &#7936;&#960;&#8056; &#964;&#959;&#8166; &#8021;&#960;&#957;&#959;&#965; &#7952;&#960;&#959;&#943;&#951;&#963;&#949;&#957; &#8033;&#962; &#960;&#961;&#959;&#963;&#941;&#964;&#945;&#958;&#949;&#957; &#945;&#8016;&#964;&#8183; &#8001; &#7940;&#947;&#947;&#949;&#955;&#959;&#962; &#954;&#965;&#961;&#943;&#959;&#965; &#954;&#945;&#8054; &#960;&#945;&#961;&#941;&#955;&#945;&#946;&#949;&#957; &#964;&#8052;&#957; &#947;&#965;&#957;&#945;&#8150;&#954;&#945; &#945;&#8016;&#964;&#959;&#8166;
<span class="reftext"><a href="http://biblos.com/matthew/1-25.htm"><b>25</b></a></span>"
  [25]=>
  string(214) "&#954;&#945;&#8054; &#959;&#8016;&#954; &#7952;&#947;&#943;&#957;&#969;&#963;&#954;&#949;&#957; &#945;&#8016;&#964;&#8052;&#957; &#7957;&#969;&#962; &#959;&#8023; &#7956;&#964;&#949;&#954;&#949;&#957; &#964;&#8056;&#957; &#965;&#7985;&#8056;&#957; &#945;&#8016;&#964;&#8134;&#962; &#964;&#8056;&#957; &#960;&#961;&#969;&#964;&#972;&#964;&#959;&#954;&#959;&#957;· &#954;&#945;&#8054; &#7952;&#954;&#940;&#955;&#949;&#963;&#949;&#957; &#964;&#8056; &#8004;&#957;&#959;&#956;&#945; &#945;&#8016;&#964;&#959;&#8166; &#7992;&#951;&#963;&#959;&#8166;&#957;<p>"
}
</pre>