theshirey Posted October 17, 2008 Share Posted October 17, 2008 1. I want to create a newsletter page and I was wondering how I could just code the page in full PHP to show the input for an email address and then a signup button. I want that particular page to run the specific php script and show whether it is successful or not. 2. I want to create a poll that will allow users to answer the question and then have the data saved in a db and then emailed to a predefined email address. I would appreciate any help with this. Quote Link to comment https://forums.phpfreaks.com/topic/128790-couple-of-questions-that-i-need-help-on/ Share on other sites More sharing options...
haku Posted October 17, 2008 Share Posted October 17, 2008 It sounds like you need to learn php. Both of those things are relatively easy to do when you know how. If you DO already know php, then why don't you tell us where you are at, and where you have gotten hung up. If you don't know php, well this forum is for help, not for writing code for someone, unless you are willing to pay, in which case there is freelance (or something like that) section of the board. Quote Link to comment https://forums.phpfreaks.com/topic/128790-couple-of-questions-that-i-need-help-on/#findComment-667678 Share on other sites More sharing options...
theshirey Posted October 17, 2008 Author Share Posted October 17, 2008 I'm just looking for a shove in the right direction. I'm more of an ASP.NET guy but I'm trying to learn PHP also. Quote Link to comment https://forums.phpfreaks.com/topic/128790-couple-of-questions-that-i-need-help-on/#findComment-667693 Share on other sites More sharing options...
haku Posted October 17, 2008 Share Posted October 17, 2008 I want to create a newsletter page and I was wondering how I could just code the page in full PHP to show the input for an email address and then a signup button. I want that particular page to run the specific php script and show whether it is successful or not. The first half of that isn't even php, its just a pure html form. If you want to do it in php for some reason, you could use an echo statement to send it out. Then use the php 'mail' function to send the message. The mail function returns a value of true if the mail was successful, false if it wasnt. Use that to decide what message to give to the user. I want to create a poll that will allow users to answer the question and then have the data saved in a db and then emailed to a predefined email address. Create the poll using radio buttons in HTML. Submit the result to a database, and use the mail function to email the data to a set mail address. You can set that address in the script itself. Quote Link to comment https://forums.phpfreaks.com/topic/128790-couple-of-questions-that-i-need-help-on/#findComment-667841 Share on other sites More sharing options...
theshirey Posted October 17, 2008 Author Share Posted October 17, 2008 Cool. Thank you very much. Quote Link to comment https://forums.phpfreaks.com/topic/128790-couple-of-questions-that-i-need-help-on/#findComment-668379 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.