Hallo,
volgendes Problem ich möchte einen HTML-Code einer Variable zu weisen, aber leider geht das nicht:
<?php
/* SMILIES EINGABE FORMULAR ANFANG */
$Variable =
?>
<table width="80" height="160" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3" class="tabletitle" align="left">Smilies:</td>
</tr>
<tr>
<td class="tabtd" align="center"><img class="noimg" width="2" height="1" scr="./images/space.gif"><a href="#" onclick="javascript:set(document.form,''"><img class="noimg" src="./images/smilies/15.gif" title="" alt=""></a></td>
<td class="tabtd" align="center"><img class="noimg" width="2" height="1" scr="./images/space.gif"><a href="#" onclick="javascript:set(document.form,''"><img class="noimg" src="./images/smilies/6.gif" title="" alt=""></a></td>
<td class="tabtd" align="center"><img class="noimg" width="2" height="1" scr="./images/space.gif"><a href="#" onclick="javascript:set(document.form,''"><img class="noimg" src="./images/smilies/4.gif" title="" alt=""></a></td>
</tr>
<tr>
<td class="tabtd" align="center"><img class="noimg" width="2" height="1" scr="./images/space.gif"><a href="#" onclick="javascript:set(document.form,'X)'"><img class="noimg" src="./images/smilies/12.gif" title="X)" alt="X)"></a></td>
<td class="tabtd" align="center"><img class="noimg" width="2" height="1" scr="./images/space.gif"><a href="#" onclick="javascript:set(document.form,'=)'"><img class="noimg" src="./images/smilies/1.gif" title="=)" alt="=)"></a></td>
<td class="tabtd" align="center"><img class="noimg" width="2" height="1" scr="./images/space.gif"><a href="#" onclick="javascript:set(document.form,':rolleys:'"><img class="noimg" src="./images/smilies/14.gif" title=":rolleys:" alt=":rolleys:"></a></td>
</tr>
<tr>
<td class="tabtd" align="center"><img class="noimg" width="2" height="1" scr="./images/space.gif"><a href="#" onclick="javascript:set(document.form,';('"><img class="noimg" src="./images/smilies/3.gif" title=";(" alt=";("></a></td>
<td class="tabtd" align="center"><img class="noimg" width="2" height="1" scr="./images/space.gif"><a href="#" onclick="javascript:set(document.form,''"><img class="noimg" src="./images/smilies/13.gif" title="" alt=""></a></td>
<td class="tabtd" align="center"><img class="noimg" width="2" height="1" scr="./images/space.gif"><a href="#" onclick="javascript:set(document.form,'8)'"><img class="noimg" src="./images/smilies/2.gif" title="8)" alt="8)"></a></td>
</tr>
<tr>
<td class="tabtd" align="center"><img class="noimg" width="2" height="1" scr="./images/space.gif"><a href="#" onclick="javascript:set(document.form,''"><img class="noimg" src="./images/smilies/5.gif" title="" alt=""></a></td>
<td class="tabtd" align="center"><img class="noimg" width="2" height="1" scr="./images/space.gif"><a href="#" onclick="javascript:set(document.form,':O'"><img class="noimg" src="./images/smilies/8.gif" title=":O" alt=":O"></a></td>
<td class="tabtd" align="center"><img class="noimg" width="2" height="1" scr="./images/space.gif"><a href="#" onclick="javascript:set(document.form,'8o'"><img class="noimg" src="./images/smilies/9.gif" title="8o" alt="8o"></a></td>
</tr>
<tr>
<td class="tabtd" align="center"><img class="noimg" width="2" height="1" scr="./images/space.gif"><a href="#" onclick="javascript:set(document.form,':]'"><img class="noimg" src="./images/smilies/10.gif" title=":]" alt=":]"></a></td>
<td class="tabtd" align="center"><img class="noimg" width="2" height="1" scr="./images/space.gif"><a href="#" onclick="javascript:set(document.form,'?('"><img class="noimg" src="./images/smilies/5.gif" title="?(" alt="?("></a></td>
<td class="tabtd" align="center"><img class="noimg" width="2" height="1" scr="./images/space.gif"><a href="#" onclick="javascript:set(document.form,''"><img class="noimg" src="./images/smilies/7.gif" title="" alt=""></a></td>
</tr>
</table>
<?
/* SMILIES EINGABE FORMULAR ENDE */
?>
Wiso nicht, es ist doch alles richtig, oder??
Mfg. BNS