Jump to content

Start up help


caseycasey

Recommended Posts

So i am new here and new the world of web design. I am making a blog for myself and am wondering a few things that I couldn't find out on the internet.

When you make a site and have the php and the mysql coded out so that i works, when you pay to host it...does all that info come back and save on the mysql database you made on your computer, or does it go somewhere else? Does the host store it? I am interested in learning a lot about mysql and php, I am in some classes now, but they do not move fast enough. Help?

Link to comment
Share on other sites

When you create a page using PHP and a MySQL database you have to have a server on your local computer to process the PHP and database locally (just for testing) and you can use Wampserver2 http://www.wampserver.com/en/download.php or XAMPP http://www.apachefriends.org/en/xampp.html which have Apache server bundled up with PHPmyAdmin and PHP processing.

 

Having tested, you upload your html, css, php and mysql files to your hosting service.

 

When someone fills in a form the data is stored on the mysql database on the hosting service's server. You can set up another PHP page with a password that only you know to read the data from the database from there on a webpage or go into your hosting service control panel and read the database directly. You can then export the database from the hosting service (say at regular intervals) back onto your computer to overwrite the database or export it in another format, like Excel.

 

http://www.wickham43.net/formphptomysql.php

Edited by Wickham
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...