You are here: Re: Form to database help « PHP Language « IT news, forums, messages
Re: Form to database help

Posted by Tom on 06/08/07 17:27

"Anonymous Chief" <anonySMACKmouschief@gmail.com> wrote in message
news:n2_9i.5051$1i1.2811@pd7urf3no...
> Hi Scripters,
>
> I need help with a form to save only one field...that is, an e-mail
address
> to a database for a mailing list. I can do the form, I just do not know
how
> to make it save to a database. Then I need help extracting that data from
> the database to add to my contact list, or to notepad.
>
> Thanx
>
> Anonymous Chief
>
>

With PHP you would likely getting the form data using a $_POST variable, and
should probably validate the information or make sure it is in a usable
format before saving it. Depending how your PH is configured, you probably
have MySQL setup. If you check the http:///www.php.net site there's lots of
useful information and can get more detail on the mysql_* functions there
for connecting, updating and retrieving information for the database.

Tom
--
Newsguy.com
90+ Days Retention
Free SSL Connections
Create Your Own NZB Files

 

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

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация