Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 HTML 表单,当用户提交时,它会调用一个 php 文件将表单内容邮寄给我。我想使用 PHPMailer,但我想知道 PHPMailer 如何引用表单数据。是否与普通 PHP 相同,我只是使用$_POST['inputName']?
$_POST['inputName']
是的,你可以使用它,它是一样的,因为PHPMailer 也是用 PHP 制作的