Explain features of php, PHP Web Programming

Assignment Help:

Question:

(a) (i) Name four features of PHP that makes it an appropriate choice as a Web programming language.

(ii) List advantages while using PHP scripting language.

(b) Consider the following hyperlink:

< a href="welcome2.php?firstname=Kev&lastname=Yan" > Hi, I'm Kev Yan!
< /a>

Write down PHP extract codes that will retrieve and write the values of the query string parameters in a Web Page.

(c) Explain each of the following string functions. Illustrate your answer with simple examples.

(i) explode()
(ii) str_repeat()
(iii) str_replace().

(d) Write a switch statement that adds, subtracts, multiplies and divides variable x using the action variable.


Related Discussions:- Explain features of php

Selecting columns in mysql by by keying in a number, How do I select lets s...

How do I select lets say 2columns eg(Name and Payment plan)when I type in a a telephone number like 665528 to get the one row corresponding to the number I have typed?

We are in need of front end web developer and designer, We are in need of F...

We are in need of Front End Web Developer and Designer In search of someone who can convert my PSD files to HTML, HTML5, PHP. Who understands as well as works on websites, la

Want help in xml template converter, Want help in XML Template Converter ...

Want help in XML Template Converter Description- Produce a script that runs daily (can be activated by cronjob) and converts one XML feed into another XML feed format (convertin

Duplicate of bitcoin and crypto currency exchange, Duplicate of Bitcoin / C...

Duplicate of Bitcoin / Crypto Currency Exchange Duplicate of popular European Bitcoin crypto currency exchange. Will deliver URL via PMB. Must be control panel driven and set

Http method, The standard recommendation for a database insert is to use HT...

The standard recommendation for a database insert is to use HTTP POST method, not the default GET method.  The PHP must reflect this by how it accesses that data.  Either a $_POS

Hidden input, Yet another kind of input is HIDDEN input. A HIDDEN in...

Yet another kind of input is HIDDEN input. A HIDDEN input is a name/value pair which is returned to you but do

Apply color and style on text, You will now apply additional formatting cha...

You will now apply additional formatting changes to the text like changing the color & style to generate heading text. 1. In the primary text description layout cell, choose t

Create a web page that prompt the user for input, Overview Web pages often...

Overview Web pages often need to prompt the user for input and that input will then need to be uploaded to the server, processed, possibly stored, and then some appropriate result

We need a wordpress plugin made easy, We need a Wordpress Plugin -Made Easy...

We need a Wordpress Plugin -Made Easy Want a wordpress plugin developed. User experience- The website visitor would click on a review us button this would open a lightbox tha

Web application - front-end for bash tools, Web Application - Front-End for...

Web Application - Front-End for BASH Tools We are in search of a developer or organization capable of building a web application designed to function as a user-rich web front-en

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd