Hi,
I'm trying to use this code in a php page, but for some reason the output is not displayed:
PHP Code:
<?
include 'script/config.php';
?>
<div id="hold">
<h1><a href="/"><img src="script/logo.png"></a></h1><br>
<b>Enter a word below:</b><br>
<p id="inputp"><input type="text" id="input" class="input"/></p>
<div id="result">
<p><font style="font-size: 9pt">Dictionary Script - Buy This Script At:
</font>
<a target="_blank" href="http://www.websitescripts.org/">
<font style="font-size: 9pt" color="#0000FF">WebsiteScripts.org</font></a></p></div>
This is how I used it:
PHP Code:
include 'script/config.php';
$output .="
<div id="hold">
<h1><a href='/'><img src='script/logo.png'></a></h1><br>
<b>Enter a word below:</b><br>
<p id='inputp'><input type='text' id='input' class='input'/></p>
<div id='result'>
<p><font style='font-size: 9pt'>Dictionary Script - Buy This Script At:
</font>
<a target='_blank' href='http://www.websitescripts.org/'>
<font style='font-size: 9pt' color='#0000FF'>WebsiteScripts.org</font></a></p></div>
";
I'm getting this error:
Code:
Parse error: syntax error, unexpected T_STRING in /home/******/learnhungarianonline.com/pages.php(108) : eval()'d code on line 4
What am I doing wrong?
Thanks
EDIT: never mind, I've made a mistake with the double quote