грешка T_STRING

vesku

Registered
какво означаваше T_STRING не е ; не е ) и } сащо не е или се баркам
Parse error: parse error, unexpected T_STRING in C:\wamp\www\functions.php on line 11
ето и кода
Код:
<?php
//Function 1
function DP()
{
echo ("BG - $z1 EN - $z2");
};
//Function2
function form()
{
echo ("<html><body><title>Tanslator</title>
<form method="POST" action="save.php">
Text:<input type="text" name="1"><br>
Translation:<input type="text" name="2"><br>
<input type="submit" value="Send">
</form></html></body>");
};
?>
 
:)

Ето така:

Код:
<?php
//Function 1
function DP()
{
echo ("BG - $z1 EN - $z2");
};
//Function2
function form()
{
echo '<html><body><title>Tanslator</title>
<form method="POST" action="save.php">
Text:<input type="text" name="1"><br>
Translation:<input type="text" name="2"><br>
<input type="submit" value="Send">
</form></html></body>';
}
?>
 
Код:
<?php
//Function 1
function DP()
{
echo ("BG - $z1 EN - $z2");
}
//Function2
function form()
{
echo ("<html><body><title>Tanslator</title>
<form method=\"POST\" action=\"save.php\">
Text:<input type=\"text\" name=\"1\"><br>
Translation:<input type=\"text\" name=\"2\"><br>
<input type=\"submit\" value=\"Send\">
</form></html></body>");
}
?>
 
вярно бе сетих са като ви видях на админа поста че неможе да се използват двойни кавички вав двоини кавички :x :x :x а от дидонет се сетих как можеше и да стане тоя номер с кавичките благодаря на всички
 

Back
Горе