|
Posted by Jon Slaughter on 06/16/07 20:17
"Cigar2011" <cigar2011@Yahoo.com> wrote in message
news:1182022780.799807.299250@q69g2000hsb.googlegroups.com...
>I will try to be short and to the point.(good Luck) I have a form
> written in HTML. I have a Mysql database. I am using a linux server
> and I would like to use php to write the following code:
>
> After the user inputs their name, address, email, phone, etc. in my
> html form. They will hit the submit button. I need for the information
> they entered to go into my database.
>
> I have looked now for about 12 hours and haven't been able to find an
> answer. I know I must be missing something since I've been to the w3
> site, codewalkers, phpfreaks,php.net(?), and many more.
>
> If there is an easier way of doing this I would love to hear it.
>
> If somene could point me in the right direction I could stop banging
> my head and pulling my hair.
>
> THANK YOU in advance for your advice.
>
Its going to be more work and its going to take you some time to learn it.
1. You'll need a web server like apache, php, and an sql like mysql. They
are all free and easy to install with many online tutorials.
2. Get apache and php up and running with appropriate modules and
extensions. This should actually be part of 1.
3. Create some simple php scripts for testing. Again, there are online
tutorials for this.
4. Now try to get some mysql code working. Its actually very easy but you'll
need to learn the sql language which is also easy but at first might seem
hard.
5. Now work with php and forms. This is again very easy and there are many
online tutorials about how to do it.
6. Put everything you've learned together to do what you want.
---
Each step is actually very easy although they can be time consuming if you
get in trouble. Its best you learn how to do everything because it builds
character ;) Actually you'll be glad you learned it because its not
hard(Although it might seem that way) and you'll be in a much better
position to do things you want and how you want.
Since all the tools you need are free the only thing you have to pay is
time. Again, its not hard but it will take time for you to learn all the
little things. Give yourself a few months and you'll have it down. If your
diligent you could probably get enough done in a month or so.
Jon
[Back to original message]
|