开发者

Where can I find free PHP forms?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜