php mcq questions with answers


                                
Which one of the following technologies was not built into PHP before version 5?
A.XSL
B.SOAP
C.DOM
D.SAX
                                
After executing a query on a database server, PHP offers several functions to read the resulting lines, such as mysqli_fetch_assoc, pg_fetch_row, oci_fetch,etc.)If such functions do not return any rows, it means: (Choose 2)
A.a SELECT statement returned no rows
B.the transaction has been rolled back
C.the connection to the database server was disconnected during query execution
D.the query was too slow to execute
                                
What DOM method is used to load HTML files?
A.load()
B.loadXML()
C.loadHTML()
D.loadHTMLFile()
                                
Which of the following is an invalid DOM save method?
A.save()
B.saveFile()
C.saveXML()
D.saveHTML()
E.saveHTMLFile()
                                
Where does the session extension store the session data by default?
A.SQLite Database
B.MySQL Database
C.Shared Memory
D.File system
E.Session Server