Jump to content

Help with HTML and PhP wanted


BoyznDogs

Recommended Posts

I have a student staying with me who is struggling to get an HTML web page he has created working with the MySQL database he has created for his final project. He has created the database, and built the HTML form and has designed what he wants to happen on each button press, radio button selection, dropdown selection but doesn't know how to pass data from the form to the database using php. Can anyone provide a 2-3 hour tutorial for which I can pay a small fee?
Link to comment
Share on other sites

Hi BoyznDogs..


You can find a full set of Tutorials here. For HTML / PHP/ MySQL


How to Open / Connect / Write to / Read from your Database


Website http://www.w3schools.com/


Insert Data into a data base.. http://www.w3schools.com/php/php_mysql_insert.asp


example:









Cannot show Form code here as will run and display Form.

Here is the PHP code for inserting Data from a Form into a Database.







It is important to be aware that PHP Script is a Server Side Scripting Language and therefore cannot

be Run from a Browser. It needs to be Uploaded to a Server.

I suspect that if your student is already developing MySQL Databases they would already have a server

installed on the PC..


Possibly WAMP on any Windows Environment or LAMP on any Linux Environment.


DulwichFox.

Link to comment
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
Home
Events
Sign In

Sign In



Or sign in with one of these services

Search
×
    Search In
×
×
  • Create New...