前提・実現したいこと
PHP内でaタグを使用したい
発生している問題・エラーメッセージ
Parse error: syntax error, unexpected '<', expecting end of file in
該当のソースコード
PHP
1<?php 2 <a href="sample.html"> //この行の"<"に対してエラーが出る 3 print("go_sample"); 4 </a> 5?>
回答1件
あなたの回答
tips
プレビュー
投稿2019/08/27 15:09
PHP内でaタグを使用したい
Parse error: syntax error, unexpected '<', expecting end of file in
PHP
1<?php 2 <a href="sample.html"> //この行の"<"に対してエラーが出る 3 print("go_sample"); 4 </a> 5?>
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/08/27 15:16
2019/08/27 15:21
2019/08/27 15:24
2019/08/27 20:56