Fejl i en linie
Hej eksperter,Nu har jeg fået stirret mig blind på dette:
<html>
<title>Forhandlere</title>
<body>
<?php
$strMap = "<map name='FPMap0'>"."\n".
"<area href='main.php?page=forhandler&omraade=odense' shape='polygon' coords='196, 424, 202, 445, 224, 486, 254, 464, 297, 438, 289, 400, 269, 405, 231, 409'>"."\n".
"<area href='main.php?page=forhandler&omraade=svendborg' shape='polygon' coords='229, 489, 232, 503, 264, 505, 278, 512, 246, 523, 264, 554, 296, 565, 318, 480, 300, 437'>"."\n".
"<area href='main.php?page=forhandler&omraade=kbh' shape='polygon' coords='484, 379, 470, 393, 481, 407, 497, 396'>"."\n".
"<area href='main.php?page=forhandler&omraade=fredensborg' shape='polygon' coords='410, 383, 419, 335, 448, 299, 485, 317, 486, 372'>"."\n".
"<area href='main.php?page=forhandler&omraade=roskilde' shape='polygon' coords='405, 448, 398, 406, 411, 384, 479, 378, 470, 397, 452, 414, 450, 427'>"."\n".
"<area href='main.php?page=forhandler&omraade=vendsyssel' shape='polygon' coords='164, 113, 206, 65, 232, 37, 288, 11, 269, 35, 277, 73, 273, 117'>"."\n".
"<area href='main.php?page=forhandler&omraade=aarhus' shape='polygon' coords='193, 267, 182, 303, 207, 345, 239, 359, 249, 304, 206, 292, 196, 266'>"."\n".
"<area href='main.php?page=forhandler&omraade=soro' shape='polygon' coords='338, 433, 356, 477, 389, 478, 404, 447, 398, 410'>"."\n"
"<area href='main.php?page=forhandler&omraade=praesto' shape='polygon' coords='394, 478, 419, 516, 443, 518, 452, 485, 438, 475, 476, 459, 459, 425, 405, 449, 398, 478'>"."\n".
"<area href='main.php?page=forhandler&omraade=vestjylland' shape='polygon' coords='34, 219, 121, 216, 127, 233, 113, 260, 112, 315, 79, 330, 34, 331'>"."\n".
"<area href='main.php?page=forhandler&omraade=ribe' shape='polygon' coords='27, 341, 17, 398, 58, 446, 81, 451, 118, 437, 107, 318'>"."\n".
"<area href='main.php?page=forhandler&omraade=nordvestjylland' shape='polygon' coords='33, 213, 40, 186, 56, 153, 78, 126, 102, 114, 146, 113, 172, 116, 163, 174, 157, 210, 132, 217'>"."\n".
"<area href='main.php?page=forhandler&omraade=horsens' shape='polygon' coords='137, 315, 138, 327, 152, 339, 152, 351, 171, 375, 182, 386, 206, 391, 223, 384, 229, 365, 227, 357, 202, 344, 183, 312'>"."\n".
"<area href='main.php?page=forhandler&omraade=himmerland' shape='polygon' coords='162, 211, 188, 205, 205, 197, 209, 167, 218, 139, 224, 115, 177, 116'>"."\n".
"<area href='main.php?page=forhandler&omraade=sydhav' shape='polygon' coords='328, 535, 326, 549, 334, 562, 373, 584, 425, 592, 428, 565, 446, 533, 484, 517, 478, 505, 457, 500, 446, 519, 428, 528, 403, 522, 401, 537, 389, 535, 384, 542, 362, 535, 350, 523'>"."\n".
"<area href='main.php?page=forhandler&omraade=bornholm' shape='polygon' coords='426, 16, 413, 55, 419, 68, 461, 90, 475, 83, 480, 65, 474, 46'>"."\n".
"<area href='main.php?page=forhandler&omraade=Nordvestsjaelland' shape='polygon' coords='406, 387, 399, 370, 402, 357, 406, 338, 356, 328, 331, 340, 318, 378, 320, 393, 342, 420, 400, 405'>"."\n".
"<area href='main.php?page=forhandler&omraade=soender' shape='polygon' coords='72, 459, 75, 533, 130, 542, 149, 553, 177, 540, 192, 546, 221, 541, 217, 516, 191, 502, 188, 484, 182, 446, 156, 445, 122, 437, 103, 441'>"."\n".
"<area href='main.php?page=forhandler&omraade=vejle' shape='polygon' coords='183, 429, 165, 444, 119, 433, 119, 390, 108, 323, 129, 312, 155, 359, 183, 391, 205, 402'>"."\n".
"<area href='main.php?page=forhandler&omraade=randers' shape='polygon' coords='245, 305, 200, 281, 197, 257, 202, 206, 213, 192, 255, 205, 267, 235, 295, 237, 319, 246, 308, 283, 295, 305, 275, 309, 258, 294, 247, 301'>"."\n".
"</map>"."\n".
"<p><center><img src='/img/main/dk.gif' alt='Danmarkskort opdelt i regioner' usemap='#FPMap0' border='0'></center></p>";
echo $strMap;
?>
</body>
</html>
I linie 15 som er:
"<area href='main.php?page=forhandler&omraade=praesto' shape='polygon' coords='394, 478, 419, 516, 443, 518, 452, 485, 438, 475, 476, 459, 459, 425, 405, 449, 398, 478'>"."\n".
Kommer den frem og skriver: Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /customers/domæne.dk/domæne.dk/httpd.www/Filer/Sider/test.php on line 15
Jeg fatter selt ikke hvad det er - tror ikke helt på at det er linie 15
Hilsen
Claus
