Sunday, December 14, 2008

Day 2: PHP

IN Day two i have studied at Innobuzz
Concept of Pre and Post increment and decrement
Concept of for Loop and while loop
Genrate dynamic Table IN HTML
Concept of IF and Else
?> GENRATING DYNAMIC TABLE IN PHP WITH THE HELP OF HTML
";
for($a=1; $a<=10; $a++){print ""; for($b=1;$b<=10;$b++) { print ""; print $a * $b; print ""; }print ""; }print "";
?>

";
for($a=1; $a<=10; $a++){print ""; for($b=1;$b<=10;$b++) { $c = $a * $b; if($c%3 == 0 OR $c%2 == 0) { print ""; } else { print ""; } print $c; print ""; }print ""; }print "";
?>
GENRATING TABLE IN HTML









Name Class
Me PHP

No comments:

Post a Comment