answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: How do you write a Program in php to print a marksheet?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is a regular expression in PHP?

echo or print < both of which write text: <?php echo "TEXT"; print "TEXT"; ?>


How do you write multiplication table program in php?

// example of 1..12x12 table for($i = 1; $i <= 12; $i++) { for($j = 1; $j <= 12; $j++) { print ($i * $j) ." "; } print "\n"; }


How do you write a program to print numbers from star one and next line star two in php?

Try the triangle program on a search engine. Replace numbers with stars and that should do the trick


How do you write a program to print even numbers from 1 to 50 in PHP?

Code Below: <?php $j = 100; // Set limit upper limit echo "Even Numbers are: <br/>"; for($i=1;$i<=$j;$i++) { if($i%2) { continue; } else { echo $i."<br/>"; } } ?>


How do you print an HTML table using PHP?

It is really simple to print an HTML table in PHP, all you have to do is the following: <?php print "<table>"; print "<tr>"; print "<td>hello</td>"; print "</tr>"; print "</table>"; ?>


Is there widget in php?

well, as such there is no Widget in php. You need to write your own widget program if you are interested to develop. You must be aware of wordpress built on php plateform and that uses widget extensively :)


Write a PHP program to check whether the string is palindrome or not?

You can do this: <?php if ( $word === strrev( $word ) ) { echo "The word is a palindrome"; } else { echo "The word is not a palindrome"; }


How do you print a particular value using PHP?

To print a particular value in PHP you have to select which variable you wish to print. Below is an example of how this can be done. <?php $var[1] = "Hello"; $var[2] = "Lalala"; print $var[2]; // prints Lalala but not Hello ?>


How do you write a program to print prime numbers from 1 to 100 in PHP?

<pre> <?php $limit = 100; $primeList = array(); for($i = 2; $i < round(sqrt($limit)); $i++) { foreach($primeList as $num) { if($i%$num 0)) continue 2; } $prime[] = $i; } print_r($prime); ?> </pre> Based on Sieve of Erathosthenes. See the related link for further information.


Where can I find free php codes?

Ratinonal program in php


Write a program to compute the sum of first ten integer numbers in PHP?

$n = 10*(1+10)/2;


What is php extension?

We can write php extension is many way... .php , .php5, .php4