Sign in to follow this  
Followers 0

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

6 posts in this topic

Posted

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

Posted

Is there a tutorial for this anywhere?

Share this post


Link to post
Share on other sites

Posted

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

Share this post


Link to post
Share on other sites

Posted

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

Posted

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

Posted

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  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.