Cash-back offer from May 7th to 12th, 2024: Get a flat 10% cash-back credited to your account for a minimum transaction of $50.Post Your Questions Today!

Question DetailsNormal
$ 15.00

CISM4157 Assignment Complete Solution

Question posted by
Online Tutor Profile
request

INSTRUCTIONS: Complete the table below by providing an explanation of what the PHP and SQL keyword/phrase does and provide an example of how the code is used. 

#

PHP Keyword/ phrase

Explanation

Example

Chapter 8

i.e.

<?php … ?>

The PhP tags allow for code within the tags to be interpreted and executed, while any PHP code outside the tags will not work

<?php

     echo ”Hello World!”

?>

1

#              AND

/* … */

The PhP comments, # is used to comment a single line. /* … */ is used to comment multiple statements.

Comments are ignored and not executed as these are used to write information for easy understanding of code.

# This is a one line comment

/*

This is multiple line comment.

Line 2

*/

2

$

$ is used to define and declaring PhP variables.

$num = 2;

3

define(name,value)

define is used to define the named constants in PhP where name is the name of the constant and value is the value of the constant.

define(“Name”, “John”);

echo Name; // outputs “John”

4

echo

echo is used to output one or more strings in PhP

Echo “Hello World!”

5

include        AND

include_once

include and include_once includes and evaluates the file during the execution of the script. include_once includes the file only once, if it is already included, it will not be included again.

include_once “methods.php”

include “global.php”

6

require        AND

require_once

require is similar to include except it throws compile time error when the file is not present. Similarly require_once only checks for file once.

require “methods.php”

require_once “todo.php”

7

if…else AND if…elseif

if…else and if…elseif are the conditional statements where it checks is the condition is true, if it is true the statement in if block are executed else statements of else block are executed. In case of elseif another condition is checked.

if ($x < $y){

echo “x is less than y”;

}

else if ($y < $x){

echo “y is less than x”;

}

else

{ echo “both are equal”

}

Available Answer
Other Similar Questions
User Profile
NUMBE...

CISM4157 Assignment Complete Solution

INSTRUCTIONS: Complete the table below by providing an explanation of what the PHP and SQL keyword/phrase does and provide an example of how the code is used. # PHP Keyword/ phrase Explanation Example Chapter 8 i.e.
User Profile
NUMBE...

CISM4157 Assignment / Complete Solution/A++ WORK

I.e. The PhP tags allow for code within the tags to be interpreted and executed, while any PHP code outside the tags will not work 1 # AND /* … */ The PhP com...
User Profile
Exper...

CISM4157 Assignment | Complete Solution

This Tutorial is rated A+ previously,if you have any questions regarding this tutorial then you can contact me.

...

The benefits of buying study notes from CourseMerits

homeworkhelptime
Assurance Of Timely Delivery
We value your patience, and to ensure you always receive your homework help within the promised time, our dedicated team of tutors begins their work as soon as the request arrives.
tutoring
Best Price In The Market
All the services that are available on our page cost only a nominal amount of money. In fact, the prices are lower than the industry standards. You can always expect value for money from us.
tutorsupport
Uninterrupted 24/7 Support
Our customer support wing remains online 24x7 to provide you seamless assistance. Also, when you post a query or a request here, you can expect an immediate response from our side.