Tuesday, April 29, 2008

Assignment Three, con't

I was going to re-start my Assignment 3, but got sidetracked with trying to come up with product categories and CSS styles. I talked to you about turning it in late so I won't have to double my work re-doing the layout.

Monday, April 28, 2008

Assignment Three

This weekend I started on the template, using your AfterPost2.php. Now I'm trying to figure out how to configure this to my CSS styles and so forth.... I'm getting stuck on the visual part, but I know that can be changed, just as long as I set up my template.

Saturday, April 19, 2008

Assignment Two

It took me 2.5 hours to finish this assignment. I'm still a bit confused about why the quotes didn't need to be escaped, but I'll try to remember to ask in class on Monday.

I'm not sure if we need to provide documentation of our work, nevertheless here it is:

Parse error: syntax error, unexpected T_VARIABLE in /home/classes/mfoste05/public_html/adder.php on line 9

PROBLEM: missing concatenator before $myTotal variable. Note to self: I tried re-creating this one line of code with and without the period and it had same error message w/o period concatenator

Parse error: syntax error, unexpected '}' in /home/classes/mfoste05/public_html/adder.php on line 13

PROBLEM: missing semicolon at end of line 12 which causes unexpected ‘}’character on next line. Note to self: Page 6 of book says that all PHP statements (lines of executed code) must end with a semicolon.

Parse error: syntax error, unexpected $end in /home/classes/mfoste05/public_html/adder.php on line 28

PROBLEM: the curly bracket on line 13 needs an ending curly bracket but the bracket on line 26 is facing the wrong way. Note to self: I searched for “Parse error: syntax error, unexpected $end” and http://www.phpbuilder.com/board/showthread.php?t=10316154 said “That error is usually as a result of a missing curly bracket , post a bit of code that causes the error” so I assumed it had something to do with a curly bracket

error: \form action="/~mfoste05/adder.php"> Enter the first number:

PROBLEM: there is an unnecessary slash in front of form tag

error: typed in numbers, but form didn’t calculate, just returned form with no values in boxes

PROBLEM: missing method="post". Note to self: I looked at postback1.php example and deleted the method="post" from it to see what it would do, it also came back with no values in boxes

error: same one

PROBLEM: thought it might have something to do with print statement and saw above the print statement that $num2 variable had ‘n’ as capital ‘N’ – so changed to lower case to match original naming convention on line above it

error: same one

PROBLEM: this line: $myTotal -= $num1 + $num2; it should be = instead of -=

error: same one

PROBLEM: this line: Enter the first number:
-- name=”num1” not “Num1”

error: You added 76 and 543 and the answer is 619!
Notice: Undefined index: php_self in /home/classes/mfoste05/public_html/adder.php on line 15Reset page

PROBLEM: php-self wasn't capitalized

Now it's fixed.

Saturday, April 12, 2008

Assignment One

I think I finished assignment one... my construction page is functionally ugly, maybe I'll get around to styln' with CSS or some cardboard cutouts, it's hard to be creative when you are trying to be...

Saturday, April 5, 2008

Creating Blog

I'm a first time blogger, long time metro rider... and there goes my bus...