Welcome! Log In Create A New Profile

Advanced

TASK 2B

Posted by sandile 
Announcements Last Post
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
TASK 2B
July 24, 2007 12:02PM
Task 2B completed successfully.hot smiley

Question - Are we expected to go by the Due dates indicated in the tutorial letter (tut101_sem2_2007)?
avatar
Mac
Re: TASK 2B
July 25, 2007 09:09AM
The due dates are only an indication of how you should pace yourself. The due date for the final project is the important one.
Re: TASK 2B
July 25, 2007 08:48PM
Task 2B completed wihtout any problems.
Anonymous User
Re: TASK 2B
July 26, 2007 07:27PM
Task 2B completed!
Re: TASK 2B
August 02, 2007 10:37AM
Task 2B completed!
Re: TASK 2B
August 06, 2007 10:23AM
Task 2B completed. No problems.
Re: TASK 2B
August 12, 2007 05:07PM
Completed
Re: TASK 2B
August 13, 2007 02:23PM
Task 2B completed sucessfully,No Problems and thank you for enlightening me about the due dates..smileys with beer
Re: TASK 2B
August 16, 2007 06:14PM
2b finished
Re: TASK 2B
August 21, 2007 11:23AM
Completed
Re: TASK 2B
August 24, 2007 08:56AM
2B completed with little strain
Re: TASK 2B
August 24, 2007 09:44AM
hey tobler, dont take strain, let us know what we can assist with smiling smiley
Re: TASK 2B
August 24, 2007 10:01AM
thanks, will do. what I meant was that I didn't have to sit with the problem for more than a few minutes.
Re: TASK 2B
August 24, 2007 10:20AM
ahh, sweet. i see you are gunning it

the book goes quickly so you have plenty of time to finish before you start with the project
Re: TASK 2B
August 29, 2007 06:51AM
Done with this task.
I've realised the importance of UPPERCASE and lowercase smile
in PHP.
I changed the string index 'Romeo...' to lowercase and i cudnt
pull the variable thru on the nex page...

Mac, isn't there a way that PHP can destinguish between
UPPERCASE and lowercase; HTML recognizes your code whether it's
CAPS ON or off..
avatar
Mac
Re: TASK 2B
August 30, 2007 11:50AM
Well, case is a powerful tool. Code neatly and code correctly - don't be lazy now smiling smiley BTW, there are reserved words in PHP which you cannot use to define variable - these a words PHP uses for itself. $case is one. Do a google for predefined php words. You use them, you will spent hours looking for a problem you did not know about.
Re: TASK 2B
September 03, 2007 01:59PM
Task 2B completed, no problems.
Re: TASK 2B
September 04, 2007 10:27AM
completed 2B with little problems
Re: TASK 2B
September 10, 2007 01:38PM
Task 2B completed. I've noticed the importance of case in codes.
Although I'm still having a problem with task 2A
Re: TASK 2B
October 09, 2007 12:21AM
Help please! My code:

<?php

$books["Romeo and Juliet"] = "William Shakespeare";
$books["Exobiology: An Introduction"] = "Jonathan Drake";
$books["War and Peace"] = "Leo Tolstoy";
$books["Portrait of the Artist"] = "James Joyce";
$books["The Lion, The Witch, and the Wardrobe"] = "CS Lewis";

$author = $books[$SelectedBook];

echo "The author of $SelectedBook is $author.";

?>

When I view book.html and call the array, I get The author of is . in my browser. What am I doing wrong?
Re: TASK 2B
October 09, 2007 08:47AM
Put @extract($_POST); just below the <?php and everything will work fine.
You may want to read on "register globals", $_POST, $_GET, etc.
Re: TASK 2B
October 09, 2007 09:37AM
thumbs up Thank you thank you!!! It works, and now I will never forget about register globals. If you were here I would kiss you.
smiling bouncing smiley
Re: TASK 2B
October 09, 2007 11:33AM
No need! The thank you is enough!

cheers!smile
Re: TASK 2B
October 09, 2007 11:40AM
???
Re: TASK 2B
October 24, 2007 08:45PM
Done No probem - thanks for the heads up on the register globalsgrinning smiley
Sorry, only registered users may post in this forum.

Click here to login