What is PEAR in PHP?
Answers were Sorted based on User's Feedback
Answer / nikunj
PEAR means PHP Extenction and Application Repository. This
is a collection of different classes. These are used for
advance scripting. For ex: Database,Mail,HTTP etc.
| Is This Answer Correct ? | 15 Yes | 4 No |
Answer / rakesh kumar nautiyal
PEAR stands for PHP Extension And Repository. This is
advancement of the PHP scripts. In which we can develop
more advance features of PHP scripting langauge.
| Is This Answer Correct ? | 6 Yes | 5 No |
Answer / raja revathi
PEAR is the next revolution in PHP this respository is
brnging higher level programing to php.
PEAR also provide a command-line interface that can be used
to automatically install "packages"
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the use of mysqli_real_escape_string() function?
What is a role of a designer in web development. Till what level the designer will do his work. Does he gives the complete html file or the tpl file or he should also include the smarty tag in the tpl file.
What is binary safe function in php?
Is empty java?
What is the importance of "method" attribute in a html form?
Extract url from this string? It should be flexible for all strings, not for this string only. "yahoo.comyahoo.co.inhotmail.org"
What is the difference between fopen() and fclose()?
What is input sanitization in php?
What is final class and final method in php?
What is pdo in php why use?
<?php include ("db.php"); $result = mysql_query("SELECT ques_id FROM questionbank order by ques_id limit 5 "); while($obj=mysql_fetch_array($result)) { $ad1[$obj['ques_id']]++;//Used an array and inserted the database query results into it. } $rand_keys=array_rand($ad1,1); //Did a random array function echo "First random id = ".$ad1[$rand_keys[0]]; echo "<br>Second random id = ".$ad1[$rand_keys[1]]; ?> <!--Its not working. Have any solution for this. -->
What is the use of callback in php?