UNSOLVED CS310 Quiz 2 Solution and Discussion
-
_______ statement is used to create database named MyDatabase in MySQL.
CREATE DATABASE databasename;
-
What SQL clause is used to restrict the rows returned by a query?
-
Use …… to add table in the database
-
Which of the following PHP function is used to validate and sanitize the data?
-
In PHP, in order to access MySQL database you will use:
-
Which of the following PHP syntax is used to remove all illegal characters from a URL?
-
_______ statement is used to add a new record to a MySQL table
-
How will we retrieve the value of session variable set in the following PHP code?
$_SESSION[“color”] = “green”; -
Which of the following PHP syntax is used to remove all HTML tags from a string? CS310
-
If we want to show all the session variable values for a user session then following code will be used.
print_r($_SESSION);



100% Off on Your FEE Join US! Ask Me How?


