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
  • Latest Discussions

    • That's a good idea smiley blue , if you or anyone else comes across petitions to end these despicable acts of cruelty to defenceless animals please put on here or start a new thread if you please so we can sign the petition and add our objections to this , I would also like to thank all of you the people for reading these messages and adding your voices to this cruelty,  maybe we can end it 
    • Malumbu, by that measure are police efforts to cut down on anti-social driving by issuing tickets and fines a token effort as well? Surely punitive measures for cyclists breaking the rules will encourage them not to break the rules again? A bit like when you got stopped and taken into the cab of an HGV. The police are currently using that tactic to show those who break the rules cycling that it might lead them to being hit by a lorry due to the driver's having limited vision - the cycling equivalent of a speed awareness course for drivers.    When they stopped you was it because you had broken a rule or was it just more of an education programme and they asked you to take a look and did it change your cycling behaviour in any way? As I said previously there are those who break the rules on cycling out of ignorance (and those out of arrogance) and I am sure they are using HGVs to educate those in the ignorance category and then hitting those in the arrogance category with the PCNs.    
    • Good that PETA is on it but can we add our voices to the fight against this horrible practice? I’m still shocked! A petition maybe? Happy to raise to the RSPCA but don’t want to duplicate efforts. I’ve signed campaigns from RSPCA before which sends it directly to your councillor
    • Yes, I'm aware of that. I believe the brood was five to begin with. However they are almost adult size now so not the prey of rats any longer. 
Home
Events
Sign In

Sign In



Or sign in with one of these services

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