This Study Resource Was: For ($val 1 $val 100 $val+ 2) ($tem $val 2 )
This Study Resource Was: For ($val 1 $val 100 $val+ 2) ($tem $val 2 )
sort() ////
This function is used for checking or searching for patterns in a given text
preg_match() ////
m
er as
for($val=1; $val<=100; $val+=2) {
co
$tem[] = $val*=2;
eH w
}
echo max($tem);
o.
188 ////
rs e
ou urc
How to use the include function?
include("int.php") ////
o
It proceeds the statement causes execution of the current loop iteration to end and commence at the
aC s
Continue ///
It is the symbol used to mark the end of the string in regular expressions
$ ///
ed d
ar stu
It reports the error message from the last failed database connection attempt.
mysql_error / mysqli_error ///
Th
This study source was downloaded by 100000790435847 from CourseHero.com on 06-21-2021 08:19:34 GMT -05:00
https://www.coursehero.com/file/65612236/web-application-finaldocx/
It is a function that saves the uploaded file permanently into the server.
move_uploaded_file() ///
Array is special variable that can handle more than one value.
True ////
m
er as
What is the statement terminator for PHP?
co
; ////
eH w
Allow for multiple items of the same type to be aggregated under a single representative entity.
o.
Compound Datatypes ////
rs e
ou urc
These are keywords used with mysql_query/ mysqli_queryto update records in a table.\
UPDATE, SET, WHERE ///
o
aC s
Echo ////
This function removes the white spaces and other predefined characters from both sides of a
string
ed d
trim() ////
ar stu
In PHP you can use both single quotes ( ' ' ) and double quotes ( " " ) for strings:
is
True ///
Th
It is a file function mode that is used to open a file for reading, writing or appending.
fopen() ////
sh
It is placed within the code of a loop to cause the program to stop the loop statement.
Break ////
A constant can only be assigned a scalar value, like a string or a number.
define() ////
This study source was downloaded by 100000790435847 from CourseHero.com on 06-21-2021 08:19:34 GMT -05:00
https://www.coursehero.com/file/65612236/web-application-finaldocx/
Which of the following that can be use to access session variables in PHP?
$_SESSION ////
It is the symbol used to mark the start of the string in regular expressions
^ //////
It is a function that retrieves the content of one cell from a MySQL result set.
mysql_fetch_row()
mysqli_fetch_row() ////
m
er as
This function starts a new session.
session_start() ////
co
eH w
In what year does PHP was developed?
o.
1994 ////
rs e
ou urc
In PHP, the only way to output text is with echo.
False ///
o
$my-Var ////
arsort() ////
Th
It is a field that contains a unique identifier for each record in a primary table
Primary key ////
This study source was downloaded by 100000790435847 from CourseHero.com on 06-21-2021 08:19:34 GMT -05:00
https://www.coursehero.com/file/65612236/web-application-finaldocx/
Capable of containing a single item of information.
Scalar Datatypes ////
It is a function that retrieves the number of rows from a query result set.
mysql_num_rows()
mysqli_num_rows()////
m
er as
Key Categories: offered more than 25 database products.
Possibility ////
co
eH w
Declared inside a function and is only available within the function in which it is declared.
o.
require ////
rs e
ou urc
This is an example of: $Pui % $haha;
Arithmetic Operator ////
o
echo min($tem);
ar stu
2 ////
It is an array containing information such as headers, paths and script locations wherein it is
created by the web server itself
$_SERVER ////
This study source was downloaded by 100000790435847 from CourseHero.com on 06-21-2021 08:19:34 GMT -05:00
https://www.coursehero.com/file/65612236/web-application-finaldocx/
Determine the exact output of the code:
$num = 3.14;
echo floor($num);
3 ////
Format character of Date function that display the day of the month in 2 digits with leading zeros
such as 01 to 31
m
d /////
er as
co
This function searches for the first occurence of a string inside another string.
eH w
strchr() ////
o.
rs e
Functions that are built-in into PHP to perform some standard operations.
ou urc
Predefined Functions ////
Generate a warning.
o
include() /////
aC s
vi y re
Determine the exact output of the code $str = "The quick brown fox jumps over the the lazy
dog"; echo strpos($str, 'fox');
16 ////
ed d
ar stu
This is what happens when you set your form method to get
$_GET ////
Th
This study source was downloaded by 100000790435847 from CourseHero.com on 06-21-2021 08:19:34 GMT -05:00
https://www.coursehero.com/file/65612236/web-application-finaldocx/
Key Categories: free of charge.
Price ////
It is an attribute that must be used in the form tag in specifying an input file type
enctype /////
Format character of Date function that display a full textual representation of the day of the week
such us Sunday to Saturday
j ////
m
er as
strlen("seven"); what is the output?
5 ////
co
eH w
How will you able to retrive data in your table?
o.
mysql_query("SELECT * FROM table");
rs e
mysqli_query("SELECT * FROM table"); ////
ou urc
Software Requirements: Web Server except for :
IIIS7 ////
o
aC s
It specifies the name of the field in the form to be processed by the $_FILES
vi y re
file /////
This study source was downloaded by 100000790435847 from CourseHero.com on 06-21-2021 08:19:34 GMT -05:00
https://www.coursehero.com/file/65612236/web-application-finaldocx/
m
er as
co
eH w
o.
rs e
ou urc
o
aC s
vi y re
ed d
ar stu
is
Th
sh
This study source was downloaded by 100000790435847 from CourseHero.com on 06-21-2021 08:19:34 GMT -05:00
https://www.coursehero.com/file/65612236/web-application-finaldocx/
Powered by TCPDF (www.tcpdf.org)