Sign in to follow this  

How do I set up a data entry form for a database?

Recommended Posts

marklcfc    0

The database in itself, is simple enough. I basically want 4 fields on a php page that when data is entered in them, they go into a new row in the specified database on my server. Here are the details

database table = transfersout

and then the following rows where i would enter some information

playerid =

sellto =

selldate =

loan =

loanenddate =

for loan and loanenddate, I would like these to stay as NULL unless I enter something in there.

If this is difficult to achieve is there a tutorial anywhere?

Share this post


Link to post
Share on other sites
marklcfc    0

Is there a tutorial for this anywhere?

Share this post


Link to post
Share on other sites
Kami-    178

Which PHP framework are you using? (If not, why not?)

Share this post


Link to post
Share on other sites
Nefarious Trigger    6,987

Write form in HTML

Form submits submits to PHP script

PHP script connects to database

PHP script calls stored procedure with cleaned form values as parameters

Share this post


Link to post
Share on other sites
Haggis    983

you could use any tutorial for data entry

this guestbook one for example

http://www.phpeasystep.com/phptu/15.html

Share this post


Link to post
Share on other sites
Sandor    436

Pretty easy to achieve but will it be on a live website?

If so you'll need some way to stop random people accessing it

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.