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 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 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 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
Archived
This topic is now archived and is closed to further replies.