嘿,伙计们,我正在使用php和MAMP。
很明显,引导程序并没有出现在我的基本PHP应用程序中。我有一个index.php文件。
这是我的代码:
<!DOCTYPE html>
<html>
<head>
<title>Summit</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap -->
<link href="css/bootstrap.css" rel="stylesheet">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
</head>
<body>
<h1>Summit</h1>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.js"></script>
</body>
</html>
我的htdocs文件夹中有bootstrap.js、bootstrap.css和index.php(包含上面的代码),这似乎是使用MAMP的默认目录。
检查脚本是否引用了正确的目录。。