所以我有一个PHP文件如下(一个包含HTML的完整文件):
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<!-- Latest compiled JavaScript -->
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<style type="text/css">
.content {
position: absolute;
top:50%;
left:50%;
transform: translate(-50%,-50%);
}
.text-align{
text-align: center;
}
.button-position{
float:right;
width:120px;
}
</style>
<?php
require 'mixpanel-php/lib/Mixpanel.php';
require 'vendor/autoload.php';
// get the Mixpanel class instance, replace with your project token
$mp = Mixpanel::getInstance("My token goes here...");
// track an event
$mp->track("button clicked", array("label" => "sign-up"));
?>
</head>
<body>
<form method="post" action="Register.php">
<input type="hidden" value="true" name="submitted">
<div class="container content" >
<h2 class="text-align">MixPanel registration</h2>
<div class="form-group">
<input type="text" name="txtUsername" class="form-control form-group" placeholder="Enter username...">
<input type="password" name="txtPassword" class="form-control form-group" placeholder="Enter password...">
<input type="password" name="txtPasswordConfirmation" class="form-control form-group" placeholder="Enter password confirmation...">
<input type="submit" class="btn btn-primary button-position" value="Register">
</div>
</div>
</form>
</body>
</html>
按下按钮后,数据将保存到数据库中......我应该做的第二件事是在用户注册后将数据发送到Mix面板...我包含了每个库进入项目(使用Zend工作室)......但是当我去&#34;直播视图&#34;在我的混音面板中,我没有收到用户注册的任何报告......我在这里做错了什么?