我是 php 的新手 - 我正在尝试使用提供的模板代码提交一个简单的联系表单。我收到此错误报告:
致命错误:未捕获的错误:函数名称必须是 /home/u512372001/domains/thestripedphoenix.com/public_html/assets/php/mail.php:15 中的字符串:#0 {main} throw in /home/u512372001/ domain/thestripedphoenix.com/public_html/assets/php/mail.php 第 15 行
php 出了什么问题?
这是 HTML 表单代码:
<form method="POST" action="assets/php/mail.php">
<div class="row gtr-uniform">
<div class="col-6 col-12-xsmall">
<input type="text" name="name" id="name" value="" placeholder="Name" />
</div>
<div class="col-6 col-12-xsmall">
<input type="email" name="email" id="email" value="" placeholder="Email" />
</div>
<div class="col-12">
<select name="category" id="category">
<option value="">I want a . . .</option>
<option value="1">Logo</option>
<option value="1">Website</option>
<option value="1">Polished Document</option>
<option value="1">Promotional Material</option>
</select>
</div>
<div class="col-4 col-12-small">
<input type="radio" id="priority-low" name="priority" checked>
<label for="priority-low">Low</label>
</div>
ITMISS