开发者

Where can I find free PHP forms?

开发者 https://www.devze.com 2022-12-31 19:39 出处:网络
There is a question concerning PHP. Whether there is a pro开发者_如何学Cduct similar on a functional liks PHP forms but is more cheaper?

There is a question concerning PHP. Whether there is a pro开发者_如何学Cduct similar on a functional liks PHP forms but is more cheaper? Thanks!


You can't get free fish, but you can certainly learn how to fish. Here you go.

<form name='formName' action='location of php script' method='post or get'>
    <input name='nameOfInputVar'>
</form>



<?php
    #get vars from URL
    $nameOfInputVar = $_GET['nameOfInputVar'];

    #get vars from post
    $nameOfInputVar = $_POST['nameOfInputVar'];

    //do stuff with vars
?>
0

精彩评论

暂无评论...
验证码 换一张
取 消