Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1) run wamp server on 127.0.0.1
- 2) open port 80 in router firewall
- 3) access wamp web server from public ip 215.1561.1561.1561.1x
- 4) make index.php
- 5) inside index.php - include("header.php"); - inside header.php put <div class="header"></div>
- 6) inside index.php add style.css \ <style></style> and type: .header{width:100%; height:40px;background:blue;}
- 7) than inside index.php include body.php (index.php = short file that includes other files and connect to database\run php commands)
- 8) inside body its area for testing you can start here with PHP
- 9) run php command that loop a number + 1 and echo it as <h1> - $a = 0; while($a < 30){echo '<h1>' . $a . '</h1>';}
- 10) learn more php try more stuff - examples: $a="hello world"; - replace "hello" with "big" - simple google search: "php replace string"
- 12) google and try: "php get string between" - "php if string contains" - "php loops"
- 11) before javascript: google: "youtube php from start - begginers" watch
- 12) open: 127.0.0.1/phpmyadmin - username: root - password:
- 13) find a way to make new database
- 14) find a way to make a new table inside the database
- 15) in that table add 2 fields: "username,password" - both strings!
- 16) go to "11)" connect to that database
- 17) come to borgil for more (register\login\forms\go learn javascript)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement