andy5898 Posted March 6, 2010 Share Posted March 6, 2010 I have a comments form on my website with the boxes email, message and name. However at the minute it is going through some company's script and so gets sent to an external website. Does anyone have a PP code I could use so it is all done via my own website? Cheers Quote Link to comment https://forums.phpfreaks.com/topic/194325-comments-form-does-anyone-have-a-php-code-i-can-use/ Share on other sites More sharing options...
arbitter Posted March 6, 2010 Share Posted March 6, 2010 set the action of the form to the page itself, for example action='makecomment.php' Then before the form itself you should do something like this: <?php if(isset($_POST['submit'])){ $comment = $_POST['comment'];}?> or whatever Quote Link to comment https://forums.phpfreaks.com/topic/194325-comments-form-does-anyone-have-a-php-code-i-can-use/#findComment-1022263 Share on other sites More sharing options...
cags Posted March 6, 2010 Share Posted March 6, 2010 If your after a ready made solution... Simple PHP Feedback Form Quote Link to comment https://forums.phpfreaks.com/topic/194325-comments-form-does-anyone-have-a-php-code-i-can-use/#findComment-1022277 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.