まず、PHPについて「ゼロ」を知っていることをお知らせします。だから誰かが私にこれを手伝ってくれることを願っているPHPコード内に画像を表示
PHPコード内にリンク付きの画像を表示したいと考えています。これは私がウェブサイト上で持っているコードです:
<?php
// PHP variables below must be surrounded in quotes and line end with semi-colon. Set desired values by replacing the name, number or address inside the double quotes with the desired value.
// Set the contact phone #
$contactPhone = "123-456-7890";
// Set the contact email
$contactEmail = "[email protected]";
// Set the first thru third lines of the physical address
$contactAddress[] = "My Department";
$contactAddress[] = "1234 Main Street";
$contactAddress[] = "My City, TX 12346";
$contactAddress[] = "<br /><b>Hours of Operation:</b>";
$contactAddress[] = "7:30 AM - 4:30 PM<br />";
// do not modify this
$contactAddress = implode('<br />', $contactAddress);
?>
私は「営業時間」の下にThis is what i would like for it to look
をリンクしてFacebookのアイコンを追加したい任意の助けを事前にありがとうございます。
[よくあるお問い合わせはこちら] [よくある質問](http://stackoverflow.com/help/how) (質問に答える) と[完璧な質問](http://codeblog.jonskeet.uk/2010/08/29/writing-the-perfect-question/) と[最小限の完全かつ検証可能な例](http://stackoverflow.com/help/mcve) **フリーコーディング、コード変換、デバッグ、チュートリアル、図書館検索サービスではありません ___あなたのコードを修正しました。あなたのコードは書きません__ – RiggsFolly
良いHTMLチュートリアルの恩恵を受けることができます。ここで、HTMLのハイパーリンクは ''で、画像は '
'です。これらの2つのタグの詳細を読む必要があります。 –
apokryfos