find highest salary

Answer Posted / richa

$P = shell_exec("SELECT salary
FROM mytable
ORDER BY
salary DESC");
echo $p[0];

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are php loops?

584


What is a php web application?

558


What is session expiry?

592


What is == and === in php?

552


Does php support multiple inheritance?

550






Is php a case sensitive language?

699


What are the options to transfer session ids?

647


How do I run a php script in windows?

605


How to find a specific value in an array?

560


Does php 5 support exceptions?

735


Which function(s) in PHP computes the difference of arrays?

628


What is return in php function?

566


How to call javascript function in php on button click?

561


Is runtime polymorphism overriding?

553


Which php global variable is used for uploading a file?

567