Question
Which of the following statement is INCORRECT related to
mysql_list_tables() function ?Solution
Why this is correct: mysql_list_tables() (from the old PHP mysql_* extension) requires an active DB connection (link identifier) to query the server for table list. So saying a connection is not needed is incorrect. Why the others are correct: 1.     The function is intended to list tables in a database. 2.     You must establish a connection first (true). 3.     The result resource can be used with mysql_tablename() to extract table names (true). Note: the mysql_* PHP extension is deprecated and removed in newer PHP versions in favor of mysqli /PDO, but the behavior above is the historical behavior relevant to the question.
A train of length 180 m crosses another train of length 120 m coming from the opposite direction. If the speeds of the two trains are 6 m/sec and 9 m/se...
Two buses, ‘X’ and ‘Y’, started simultaneously from city ‘M’ and city ‘N’ towards each other. When they crossed each other after 6 hours...
A goods train departs from Jaipur towards Udaipur at 6:00 PM, while a passenger train leaves Udaipur for Jaipur at 9:00 PM. The two trains meet at Jaisa...
- A train of 175 metres is running at a speed of 72 km/h and crosses a platform in 36 seconds. Determine the length of the platform.
A train 120 m long passes a pole in 10 seconds. Find its speed in km/h.
Train A (150 m) runs at 60 km/h and Train B (100 m) runs at 42 km/h in the same direction. How much time will A take to completely overtake B?
Car 'X' travels for 4 hours to reach from point A to B. Car 'Y' travels 210 km to reach from point B to C in 3 hours. Distance travelled by car 'X' to c...
- Priya is sitting inside train C which is travelling at a speed of 48 km/h. Another train D, whose length is five times the length of train C and travelling...
Time is taken by two trains running in opposite directions to cross a man standing on the platform in 24 seconds and 14 seconds respectively. It took 20...
Speed of a car is (v + 3) km/h, which is 12 km/h less than that of bike. Time taken by car to cover 72 km is 25% less than the time taken by bike to co...