Welcome! Log In Create A New Profile

Advanced

Topic 6A-2

Posted by Dennis 
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
Topic 6A-2
September 26, 2006 08:17PM
Topic Completed

Just a tip, lets say you have a sub_id but the Subject is null in the database and you cannot guarantee that the Subject database field is populated, your table borders will not display correctly (try it and see).

It's a good idea to do something like the following:

.....
echo "<td width='80%'>";
echo empty($row["Subject"]) ? '-' : $row["Subject"]; // If Subject is empty, display a - char else display the value of Subject
echo "<>/td";

Or you can display a &nbsp; space char instead of the '-' char or whatever.
Re: Topic 6A-2
September 28, 2006 10:06AM
Topic Completed
avatar Re: Topic 6A-2
October 10, 2006 09:22PM
done
Re: Topic 6A-2
October 11, 2006 07:30AM
Topic completed
Re: Topic 6A-2
October 13, 2006 04:52PM
Topic Completed
Re: Topic 6A-2
November 01, 2006 09:55PM
Topic completed
Sorry, only registered users may post in this forum.

Click here to login