folgendes problem:
ich habe folgenden quelltext aber da kommt nur die fehlermeldung:
Parse error: syntax error, unexpected '?' in /usr/export/www/vhosts/funnetwork/hosting/manwiedumm/index.php on line 17
was nun?
<?php
function mouseover() {
echo '
<html>
<head>
<title>Mein Projekt</title>
</head>
<body>
<div>
<div>
<h1>ueberschrift<h1>
</div>
<div>
<table>
<tr>
<td onmouseover="alert('<?php mouseover() ?>')">lol</td>
<td>lol</td>
<td>lol</td>
</tr>
</table
</div>
</div>
</body>
</html>
';
}
echo '
<html>
<head>
<title>Mein Projekt</title>
</head>
<body>
<div>
<div>
<h1>ueberschrift<h1>
</div>
<div>
<table>
<tr>
<td onmouseover="alert('<?php mouseover() ?>')">rofl</td>
<td>lol</td>
<td>xD</td>
</tr>
</table
</div>
</div>
</body>
</html>
';
?>