implement few PHP tasks.

  • Tila: Closed
  • Palkinto: €40
  • Vastaanotetut työt: 6
  • Voittaja: devolperwaqas

Kilpailun tehtävänanto

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:
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
the image gallery should have a following structure:
.gallery {
display: flex;
flex-wrap: wrap;
.gallery img {
width: 300px;
height: 300px;
border: 10px solid #333333;
<div class="gallery">
<img src="[login to view URL]">
<img src="[login to view URL]">
<img src="[login to view URL]">
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/[login to view URL]
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:

You can use the following SQL to create the table, just copy it to your SQL tab.
`name` varchar(50) NOT NULL,
`species` varchar(50) NOT NULL,
`age` int(11),
`imgurl` varchar(1000),
After creating the table you can insert some data in it.
List the pets database table as an HTML table in 3/[login to view URL] 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 [login to view URL] .

Suositellut taidot

Työnantajan palaute

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

Profiilikuva errormaker, Hungary.

Kilpailun parhaat työt

Näytä lisää töitä

Julkinen selvennystaulu

Kuinka päästä alkuun kilpailuiden kanssa

  • Ilmoita kilpailusi

    Ilmoita kilpailusi Nopeaa ja helppoa

  • Saat valtavasti töitä

    Vastaanota tonnikaupalla osallistumisia Ympäri maailmaa

  • Myönnä palkinto parhaalle työlle

    Myönnä palkinto parhaalle työlle Lataa tiedostot - Helppoa!

Ilmoita kilpailu nyt tai liity tänään!