Php Interview Question and Answers

37. Which function would you use to acquire the starting index of a substring within a string?
  The strstr() function returns the starting index of a substring.
 
Your Name Your Email-ID
Your Answer
38. What syntax would you use to output a string to the browser?
  We would usually use print() to write to the browser, although we could use echo() with the same results.
 
Your Name Your Email-ID
Your Answer
39. What is MySQL?
 
  • MySQL is a database server
  • MySQL is ideal for both small and large applications
  • MySQL supports standard SQL
  • MySQL compiles on a number of platforms
  • MySQL is free to download and use
 
Your Name Your Email-ID
Your Answer
40. How might you remove white space from the beginning of a string?
  The ltrim() function removes white space from the start of a string.
 
Your Name Your Email-ID
Your Answer
12345678910 Page 10 of 10