PHP and MySQL MCQs

1. Which PHP function is used to establish a connection with a MySQL server? a) mysqli_query()b) mysql_connect()c) pdo_connect()d) mysqli_connect() Answer: d) mysqli_connect() Explanation: mysqli_connect() is … Read more

XML MCQs

1. What is XML used for? a) Storing relational datab) Displaying web pagesc) Defining markup languagesd) Creating dynamic web applications Answer: c) Defining markup languagesExplanation: … Read more

Style sheets MCQs

1. What is the primary purpose of CSS (Cascading Style Sheets)?a) To define the structure of web pagesb) To create dynamic interactions on web pagesc) … Read more

HTML MCQs

1. What is the purpose of commenting code in HTML? a) To make text boldb) To provide instructions for the browserc) To hide code from … Read more