Anda di halaman 1dari 1

INSTALLATION OF PHP AND MySQL Php used for hiding something MAMP for macs Double click on mamp

Preferences: Change folder by clicking on the Document root under Apache, to select the folder from the desktop (folder is debyphp) Click open start page Click phpMyAdmin (on main page) (There should be a dot inside the Apache server and MySQL server box) Create database Click database tab Rename database name (use letters only database) Click create No of columns 2 Click DROP to delete a database Add table to the database by clicking on the renamed database Under name: Username type: VARCHAR LENGTH: 20 Password type: VARCHAR LENGTH 8 And save Open a browser and enter http://localhost:8888/ It should show INDEX OF/ Php is not case sensitive except for names for values or variables Always use $ in front of a variable then = (eg $user=)

Anda mungkin juga menyukai