@ BasetsanaM I think you have to re look at the code I used an array function that accept the 5 arguments of the varsity I declare it on the select drop box and check it with if statement and loop through to determine selected value, thanks for the effort will take a look at tut again mybe s me who missed understood but otherwise did what is expected on the pages.
I agree with BasetsanaM, some of your code is not as I understand the Tut, just for advise use it... don't... I might be wrong.
Calc.php: Your code dosn't check if deviding by 0 or if user entered letters in both fields.
String.php: In some cases I think it should test if user entered numerics.
Array.php: I don't see were you are creating or using an Array...
Function.php: I feel you used 1 Argument with 5 options, I think there should be 5 drop down boxes (Arguments) with options, I also don't see were you create or Call a Function, this might be more for your Array.php page.
Also all your pages doesn't have comments...
But like I said I might be wrong... just some food for thought.
Hi April, me again...
I was thinking and mayb Mac can help me if my thoughts on this is rite or wrong (I reallty would like to know if I'm starting to grasp the finer details of PHP, I see PHP in my futher career)
In your function page u create an Array that catches users option from drop down, but your drop down can only have 1 value...
Why create an Array that will always just receive 1 value and then have all that code to loop thru the Array that has only 1 value?
Rather don't create as an Array but use variable...
Sorry if I am overstepping but I need to know if I'm understanding PHP principles, also can I read other peoples PHP and understand what they are doing with the code.
@ 46470107 ur right I hvent do much validation in my calc page like usng an validation num function to check the numbers but otherwise to the level of my understanding all the pages are good n is good to hear that u see ur php skills evolving in future, if may ask how far ar u in portfolio.
Ag havn't started with portfolio pages between doing 3611 (vb.net) 2nd Assign, work with all the meetings and all else I find little time.
Hopefully by end next week I should b finished with vb then can give php attention again.
Hey all of us understand stuff diff thats why I like these chat forums so we can learn from each other.
Stay in touch.
Ps. remember your comments in your code...
O and I think Mac ment we shouldn't share our full code with other students, if you submit to him the txt files should be there with the links.
Sum1 might ...ahem... "borrow" ur code