New Member FAQ | Forums | Earn Revenue


Resources Entrance Ask Experts Exam Papers Jobs English Projects Universities Colleges Courses Schools Training My India



My Profile
Active Members
TodayLast 7 Days more...



Awards & Gifts
Online Exams

Fresher Jobs


Our fresher job section is exclusively for fresh graduates! Find jobs for freshers in major Indian cities including Bangalore, Chennai, Hyderabad, Pune or Kochi

Resources


Find educational articles, blogs, discussion threads and other resources.

Colleges


Find details about any college in India or search for courses.

website counter



To Understand Variable Scope In PHP


Posted Date:     Total Responses: 0    Posted By: Sunny   Member Level: Diamond   Points/Cash: 4   


$dinner= 'fish curry';

function vegetarion_dinner() {
print "dinner is $dinner, or ";
$dinner = 'sauteed pea shoots' ;
print $dinner;
print "\n";
}

function kosher_dinner() {
print "dinner is $dinner, or ";
$dinner = 'chilli chicken';
print $dinner;
print "/n";
}
print "vegetarian";
vegetarian_dinner();
print "Kosher";
Kosher_Dinner();
print "Regular Dinner is $dinner";


OUTPUT

vegetarian dinner is, or sauteed pea shoots
Kosher Dinner is, or Chilli Chicken
Regular Dinner is fish curry


Project Feedbacks


No feedbacks found. Be the first to respond and make money from revenue sharing program.

Post Feedback
You must Sign In to post a feedback.
Next Project: Difference between chordates and non-chordates
Previous Project: Java Projects-Calculator program

Return to Project Index

Post New Project


Related Projects






Contact Us   Advertise   Editors    Privacy Policy    Terms Of Use   

AdSense Revenue Sharing sites

ISC Technologies.
2006 - 2009 All Rights Reserved.