Welcome! Log In Create A New Profile



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
August 02, 2007 08:26AM
The above mentioned task was Done successfully!smileys with beer
Re: TASK 4B-1
August 13, 2007 08:10PM
4B-1 Successfully completed

Since register-globals is turned off, I had to refer to the checkbox variables in a different way as indicated here, otherwise the values were always returned as empty, regardless of whether the checkboxes were checked or not

if (empty ($_POST['choice'])) {
echo "Please select the subjects that reflects your reading tastes";
Re: TASK 4B-1
August 21, 2007 09:43PM
i have come across issues with the empty function. like when a variable has not been created yet because i am posting back to the same page but nothing is posted on the first load.

what i like to do is use is the isset() funtion. sometimes that with empty()

if (!empty ($_POST['choice']) || isset($_POST['choice'])) {
echo "stuff" . $variableName;

// also take not that i used the '!' It comes in very handy smiling smiley
Re: TASK 4B-1
August 22, 2007 08:25PM
This one gave me a headache... a missing closing bracket headache!

Task 4B-1 Completed (finally!)
Re: TASK 4B-1
August 23, 2007 12:07PM
Task 4B-1

No difficulties encountered!
Re: TASK 4B-1
August 27, 2007 07:25AM
Task completed,,,,
Re: TASK 4B-1
August 27, 2007 08:50AM
Task completed. No problems.
Re: TASK 4B-1
September 03, 2007 04:09PM
TASK 4B-1 completed with no problems. smiling smiley
Re: TASK 4B-1
September 07, 2007 10:23AM
Task completed successfully.
Anonymous User
Re: TASK 4B-1
September 16, 2007 08:25PM
Task 4B-1 done.
Re: TASK 4B-1
October 09, 2007 11:11AM
Task 4b1 completed
Re: TASK 4B-1
October 10, 2007 03:33PM
getting there ... 4B-1 done
Re: TASK 4B-1
November 18, 2007 04:08PM
successfully complete
Sorry, only registered users may post in this forum.

Click here to login