Solved by Expert Tutors
Q1.What will be the output of the PHP code given below $v = 1; Answer here $m = 2; $l = 3; if( $l > $m > $v) { echo "yes"; } Else {
Solved by Expert Tutors
Question

GreetingAttached are few coding questions ! Answer them correctly and be the winner of the reward .   

Q1.What will be the output of the PHP code given below $v = 1; $m = 2; $l = 3; if( $l > $m > $v) { echo "yes"; } Else { echo "no"; } Answer here Q2. What is the output of the following PHP source code: <!DOCTYPE html > <html> <body> php $txt = "Hello world!"; $x = 5; $y = 10.5; echo $txt; echo "<br>"; echo $x; echo "<br>"; echo $y; ?> </body> html> Answer here Q3. Write a PHP program to print: Hello world! Hello world! Answer here Q4. Write a PHP program (using a function) to print the message “MY PHP FUNCTON”. Answer here Q5.What is the output of the following script? html > < html > <body> php ECHO "apple< br >"; echo "apple< br >"; EcHo "apple< br >"; ?> </body> html > Answer here
Background image of page 1
Q6. What is the difference between Session and Cookie? How to set and retrieve cookies in PHP? Session Cookie Q7. Write PHP Script for the following i. Creating connection with MySQL ii. Creating database tables Employee( emp _id, emp _name, emp _address, emp _salary,join_date,salary) iii. Select database table Employee( emp _id, emp _name, emp _address, emp _salary,join_date,salary)
Background image of page 2
Sign up to view the entire interaction

Step-by-step answer

ec facilisis. Pellentesque dapibus efficitur laoreet. Nam risus ante, dapibus a molestie conseqacinia pulvi

m ipsum dolor sit amet, consectetur adipiscing elit. Nam lacinia pulvinar tortor nec facilisis. Pellentesque dapibus efficitur laoreet. Nam risus ante, dapibus a molestie consequa

, dictu

coding Qs.zip - Preview not available

Subscribe to view the full answer

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question
Let our 24/7 Computer Science tutors help you get unstuck! Ask your first question.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes