implement few PHP tasks.

  • État: Closed
  • Prix: €40
  • Propositions reçues: 6
  • Gagnant: devolperwaqas

Résumé du concours

Dear freelancers,
task is:

An array of image URLs is given in PHP. Create an image gallery from them. The solution should go: 1/index.php.
---------------------------------------------------------------------------------------------------------------------
image url:
http://www.quietvillagelandscaping.com/images/july-2017/landscape-maintenance-2017.jpg
http://lucidlandscape.com/wp-content/uploads/2017/01/Faroe-11.jpg
http://lucidlandscape.com/wp-content/uploads/2014/02/07240007-Edit-300x300.jpg
http://lucidlandscape.com/wp-content/uploads/2014/02/Norway-senja-1.jpg
http://lucidlandscape.com/wp-content/uploads/2014/02/phu_noi_beach2-300x300.jpg
http://lucidlandscape.com/wp-content/uploads/2014/02/Czerwinski_Iceland_2015_Water_Ice-4-300x300.jpg
http://lucidlandscape.com/wp-content/uploads/2016/06/Kauai_2016-1-1.jpg
------------------------------------------------------------------------------------------------------
the image gallery should have a following structure:
<style>
.gallery {
display: flex;
flex-wrap: wrap;
}
.gallery img {
width: 300px;
height: 300px;
border: 10px solid #333333;
}
</style>
<div class="gallery">
<img src="http://lucidlandscape.com/wp-content/uploads/2016/06/Kauai_2016-1-1.jpg">
<img src="http://lucidlandscape.com/wp-content/uploads/2014/02/Czerwinski_Iceland_2015_Water_Ice-4-300x300.jpg">
<img src="http://lucidlandscape.com/wp-content/uploads/2014/02/phu_noi_beach2-300x300.jpg">
</div>
--------------------------------------------------------------------------------------------------
Create a Celsius-Fahrenheit, Fahrenheit-Celsius converter web page with server side technologies. The solution should go: 2/index.php.

Create a C2F function which takes a Celsius value as a parameter and returns the corresponding Fahrenheit value (F = C * 9/5 + 32)!

Create a F2C function which takes a Fahrenheit value as a parameter and returns the corresponding Celsius value (C = (F - 32) * 5/9)!

Read the temperature value and conversion type (c2f or f2c) from the query parameters, i.e. from the URL .../2/index.php?temperature=100&conversion=f2c.
Create a form on the page containing a text input field for the temperature, a radio button group for the conversion type (c2f and f2c) and a submit button. Clicking on the button, show the result of the counting.
------------------------------------------------------------------------------------------------------------
Create a small application for managing pets.

Create a database table with the following information:

id
name
species
age
imgurl
You can use the following SQL to create the table, just copy it to your SQL tab.
/////////////////////////////////////////////////
CREATE TABLE `pets` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL,
`species` varchar(50) NOT NULL,
`age` int(11),
`imgurl` varchar(1000),
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
///////////////////////////////////////////////
After creating the table you can insert some data in it.
List the pets database table as an HTML table in 3/index.php with columns: name, species and age. If the imgurl column is given, then show a picture of the pet before its name.

On the listing page add a “New pet…” link which loads 3/new.php. On this page we can add a new pet to the database table. On a form the following input fields are necessary with the given validations:

name (text field, required)
species (text field, required)
age (number field, not required, but if given, it should be an integer)
imgurl (text field, not required, but if given then it should start with http:// or https://)
If validation fails, the errors should be displayed above the form as an unordered list . If it succeeds then the data should be stored to the pets table, and the page should be redirected to index.php .

Compétences recommandées

Commentaire de l'employeur

“I really satisfy with the work and sure I am going to work with him in future,”

Image de profil errormaker, Hungary.

Meilleures propositions de ce concours

Afficher plus de propositions

Tableau de clarification publique

Comment commencez des concours

  • Publiez votre concours

    Publiez votre concours Rapide et facile

  • Obtenez des tonnes de propositions

    Obtenez des tonnes de propositions De partout dans le monde

  • Attribuez la meilleure proposition

    Attribuez la meilleure proposition Télécharger les fichiers - Facile !

Publier un concours maintenant ou rejoignez-nous maintenant !