和大家分享一下我学php的前两个小时成绩(适合初学者)(散分)
学习自:
<!-- Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->http://www.w3school.com.cn/php/
<!--
Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/
-->$i=0;
for($i=1;i<5;i++)
{
echo “看我走了第”.$i.”边<br />”;
}
<!--
Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/
-->$arr = array(“one”,”two”,”three”);
foreach($arr as $value)
{
echo “我变了集合项目”.$value
}
<!--
Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/
--><?php
function w()
{
echo “liuwencheng”;
}
echo “我的名字是:”;
w();
?>
<!--
Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/
--><html>
<body>
<?php include("header.php"); ?>
<h1>Welcome to my home page</h1>
<p>some text</p>
<div class="aritcle_card">
<a class="aritcle_card_img" href="/ai/733">
<img src="https://img.php.cn/upload/ai_manual/001/246/273/68b6cde2735d9845.png" alt="小浣熊家族">
</a>
<div class="aritcle_card_info">
<a href="/ai/733">小浣熊家族</a>
<p>小浣熊家族是基于商汤自研大语言模型的AI助手,提供代码小浣熊AI助手、办公小浣熊AI助手两大功能模块</p>
<div class="">
<img src="/static/images/card_xiazai.png" alt="小浣熊家族">
<span>71</span>
</div>
</div>
<a href="/ai/733" class="aritcle_card_btn">
<span>查看详情</span>
<img src="/static/images/cardxiayige-3.png" alt="小浣熊家族">
</a>
</div>
</body>
</html>
PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号