Welcome!
Log In
Create A New Profile
Home
>
2013
>
PHP Sem 2
> Topic
Advanced
exercises: section 2
Posted by
floyd tshegare
Announcements
Last Post
SoC Curricula
09/30/2017 01:08PM
Demarcation or scoping of examinations and assessment
02/13/2017 07:59AM
School of Computing Short Learning Programmes
11/24/2014 08:37AM
Unisa contact information
07/28/2011 01:28PM
Forums
Messages
New
floyd tshegare
exercises: section 2
August 06, 2013 08:13PM
Registered: 11 years ago
Posts: 14
Rating: 0
<?php
//....jwale ke ya phuthuloha....
$engwe_number=198;
$bobedi_number=134;
$boraro_number=76;
$kopano_sum= $engwe_number+$bobedi_number+$boraro_number;
print ($kopano_sum);
Exercise 2
<?php>
$metsomehlano_number=15;
$bonnebohlano_number=45;
$lekgolo_number=100;
$add_sum=$metsomehlano_number+$metsomehlano_number;
print ($add_sum-$lekgolo_number);
Reply
Quote
78114861-Thwali
Re: exercises: section 2
August 13, 2013 01:31PM
Registered: 10 years ago
Posts: 14
Rating: 0
Hey Floyd, your script will not run because you forgot to end it with: "?>" Remember that when you leave out something, your script will not run. It will result with an error. Start your PHP script with: "<?php" and end it with "?>"
ALWAYS my brother.
Reply
Quote
Newer Topic
Older Topic
Print View
RSS
Sorry, only registered users may post in this forum.
Click here to login