You are here: Re: Capturing form input « PHP SQL « IT news, forums, messages
Re: Capturing form input

Posted by Cigar2011 on 06/17/07 02:21

Aho;

Thanks for those links. Sounds like just what I was looking for
I'm running to them right now.


>
> And all you need to know was at www.php.net
>

I suspected I was close, just couldn't put my finger on it.

Neil




On Jun 16, 5:39 pm, "J.O. Aho" <u...@example.net> wrote:
> Cigar2011 wrote:
> > 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.
>
> 1. you capture the values from the form with $_POST/$_GET/$_REQUEST, seehttp://www.php.net/manual/en/reserved.variables.php
>
> 2. connect to the databasehttp://www.php.net/manual/en/function.mysql-connect.phphttp://www.php.net/manual/en/function.mysql-select-db.php
>
> 3. Use sql query to insert the data to the databasehttp://www.php.net/manual/en/function.mysql-query.php
>
> > 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.
>
> And all you need to know was atwww.php.net
>
> --
>
> //Aho

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация