Online free php learn | php interview question for fresher | new php interview question for PHP

PHP is the better option for web development. Learn free PHP here and it is free for everyone, for beginner earyphplearn.blogspot.in is very good and better to other. Here you see the program of PHP, video tutorial and interview question

Wednesday, 5 February 2014

switch case in php



2.program Switch case in php

<?php
$day="sun";
switch ($day)
{
case "sun":
 echo "today is Sunday";
 break;
case "Monday":
echo "today is Monday";
break;
case "Tuesday":
echo "today is Tuesday";
break;
case "Wednesday":
echo "today is Wednesday";
break;
default:
echo "today is ?";
}
?>
Posted by Unknown at 02:50
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: simple program in php, switch case program in php

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

Unknown
View my complete profile

main menu

  • Home
  • polymorphism in php
  • abstract_and_interface
  • inheritance_in_php
  • php_interview_question
  • important_points
  • php_VS_other_language
  • php_programs

Labels

  • 1st php program
  • if else program in php
  • in
  • leear php online
  • new php interview
  • new php interview question for PHP
  • php interview for fresher
  • php interview question
  • php interview question answer
  • php interview question for fresher
  • PHP stands for?
  • question for PHP
  • simple php program
  • simple program in php
  • switch case program in php
  • use of echo in php
  • use of rand() in php language?
  • use of var_dump() in php with example
  • what is PHP
  • what is server side script language
  • Which language is Best for Programming?
  • why php is better to other language

Blog Archive

  • June (1)
  • March (2)
  • February (7)

Is this blog realy helpfull

realphplearn by anil sidhu. Simple theme. Powered by Blogger.