Advertisement
» 2008 » February
-
Web 3
PHP Assignments
You should have the following assignments posted on your mail gknu.com page
Remember to Link from your main but they should reside in the PHP folder.
1. Hello World4. Have a Nice weekend Use the last example one on the page!
5. includes (first example) You will need to make a header!
Â
Â
-
Web 1 Drawings directions
Â
Make sure all of your drawings are labeled with the correct name.
If you make up names then you will not get credit.
Number & name  the following drawings as specified:Â
1_Text To Path
2_Glass Orb
3_Inner Outer Curve
4_Ring around Sphere
5_3D Bar I
6_3D Bar II
7_Reflection Text
8_Simple Icon
9_Blending Photos
10_Water Drops
11_Dream Catcher
12_Yin YangMove all drawings to your “fireworks” folder and move this folder to your u: root directory.
Also place your project 4 folder in the root directory with your custom form inside of it.
Email Mr. Mac that you have done this or explain your progress level for this assignment.
See Mr. Macs email on the board.
-
Friday
Web 1
Finish all work!!
Go to Dreamweaver >go to help > getting started tutorials > create a navigation barDo this activity and then go to next tutorial and insert the bar into a page.
Web 3 and 4
Check your Grades! If you have blanks or zero’s they will stand if not fixed
by 2:00 today. Your lowest grade is dropped right now (This will change)
Oracle 5thPractice your joins. Pages 106-110 email history.
email History to Mr. Mac
Web4http://www.w3schools.com/php/php_intro.asp
Go through as many lessons as possible.
The last 15 minutes email me what you
have learned or the directory of the PHP files
you created.I will be looking for your php script from yesterday
that everyone said they finished at your name.gknu.com/php/select.php -
select.php file should be made with the following:
Get this file out of mcsheehy handouts > php1 on nhs-choice3
-
PHP SQL table build
Go to Cpanel >Go to mysql
Create a DataBase called php (note that it will build the database as yourusername_php)
Create a Username called php (note that it will build the username as yourusername_php)
Create a password called... (See board)
Give the database and user full permissions ***** this is important
Go to MyPhPadmin and select the db php and then click on SQL and paste the following in :
CREATE TABLE person ( FirstName varchar(15), LastName varchar(15), Age int )
next step
step 1
INSERT INTO person (FirstName, LastName, Age) VALUES ('Peter', 'Griffin', '35')step 2
INSERT INTO person (FirstName, LastName, Age) VALUES ('Glenn', 'Quagmire', '33')step 3
copy all of the following into a file and call it "select.php"
make a folder called php and put the code from the post above in it.

