GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   online form to mysql database (https://gfy.com/showthread.php?t=1037592)

adultzone 09-11-2011 08:22 AM

online form to mysql database
 
can anyone give me a php script that works for this? an online form that automatically add all fields to my mysql database?

Bird 09-11-2011 12:49 PM

Search google code or sourceforge

CodeR70 09-11-2011 01:29 PM

Quote:

Originally Posted by adultzone (Post 18419189)
can anyone give me a php script that works for this? an online form that automatically add all fields to my mysql database?

You need a coder?

Babaganoosh 09-11-2011 01:36 PM

Quote:

Originally Posted by CodeR70 (Post 18419654)
You need a coder?

If you do, I would find another one. This one has a piss-poor attitude.

CaptainHowdy 09-11-2011 01:44 PM

Quote:

Originally Posted by Babaganoosh (Post 18419669)
If you do, I would find another one. This one has a piss-poor attitude.

I tend to think that the sourest programmers are the more experienced ones ...

blackmonsters 09-11-2011 02:12 PM

Quote:

Originally Posted by CodeR70 (Post 18419654)
You need a coder?

People who don't pay on time or try to short change you after you do the
job, or add in things after the price is already set always think you are pissy don't they?

:1orglaugh

Babaganoosh 09-11-2011 02:15 PM

Quote:

Originally Posted by blackmonsters (Post 18419714)
People who don't pay on time or try to short change you after you do the
job, or add in things after the price is already set always think you are pissy don't they?

:1orglaugh

Who hired him? Did you?

alf6300 09-11-2011 03:21 PM

Quote:

Originally Posted by adultzone (Post 18419189)
can anyone give me a php script that works for this? an online form that automatically add all fields to my mysql database?

hey man
that's more or less what 95% of php scripts do, one way or another. I fear you need to be more specific about what you are trying to accomplish, for ppl to help you here...

ungratefulninja 09-11-2011 08:09 PM

That is super vague. You trying to do a blog script or..? It's hard to guess where you're trying to start.

Bama 09-11-2011 09:40 PM

Would this work for you?

http://demo.formtools.org/

FlowerKid 09-11-2011 09:53 PM

That's about three lines of PHP or Perl code plus some security stuff.

amateurcanada 09-11-2011 10:14 PM

PHPFORM is an easy working for this - toss me an icq at 30146166 :D just make sure if you do any uploading from your form it DOES NOT SAVE to a public area of your server :)

adultzone 09-11-2011 11:02 PM

I mean from Online Form like first name, last name, etc etc will automatically post to your sql database that you created in your host.

rickdu 09-11-2011 11:26 PM

you don't need a download.... too simple

Code:

<?
mysql_connect("localhost","USERNAME","PASSWORD");
mysql_select_db("DATABASE_NAME");

mysql_query("insert into TABLE_NAME values('$_POST[name]','$_POST[email]')");

?>
Done!

A few obvious changes and you should be able to make it work..

http://dev.mysql.com/doc/refman/5.1/...ate-table.html
http://dev.mysql.com/doc/refman/5.5/en/insert.html


All times are GMT -7. The time now is 05:02 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc