Вопрос по parsing, php – «Неожиданный T_STRING»? [закрыто]

-1
echo "Info: <input type=\"text\" name=\"titel\"> value=\" . $row['titel'] . "\">" . "<br />";

Error: User Rate Limit Exceeded

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/lokachan/public_html/andravisaform.php on line 24

Error: User Rate Limit Exceeded itachi

Ваш Ответ

3   ответа
0

$input = "<input type=\"text\" name=\"%s\" value=\"%s\"><br \/>";

echo sprintf ( $input, "title1",$row ['titel'] );
echo sprintf ( $input, "title2",$row ['tite2'] );
Error: User Rate Limit Exceeded Neku
Error: User Rate Limit Exceeded
2

Error: User Rate Limit Exceeded

echo "Info: <input type=\"text\" name=\"titel\"> value=\"" . $row['titel'] . "\">" . "<br />";
3

Error: User Rate Limit Exceeded

echo "Info: <input type=\"text\" name=\"titel\"> value=\"" . $row['titel'] . "\">" . "<br />";

Error: User Rate Limit Exceeded"Error: User Rate Limit Exceeded\".

Error: User Rate Limit Exceeded

echo 'Info: <input type="text" name="titel"> value="' . $row['titel'] . '"><br />';

Error: User Rate Limit Exceeded

Better yet, <p>Info: <input type="text" name="titel" value="<?php echo htmlspecialchars($row['titel']); ?>"><br />... `

Похожие вопросы