PHP image replacement script needed
6007
£100(approx. $131)
- Posted:
- Proposals: 1
- Remote
- #1922
- Archived
Description
Experience Level: Intermediate
Please visit this page from a website that is not yet live: http://www.cyclopsbeer.co.uk/dynamiclist.php?beer_id=1
It shows characteristics of a beer - the values and descriptions of which are returned from a recordset from a table called 'beers' held in a MySQL database
The php code request is for this page to display a specific row of images for the 'BITTER' and 'SWEET' numerical values returned from the database.
(For illustrative purposes I have inserted these actual numerical values returned from the database which appear on the page bottom-left of the 'Bitter' and 'Sweet' titles).
For example, if the database returned the value '2.5' from the db (held in table column 'bitter') for a certain beer, the row of images for BITTER would show 2 'solid' flower images, one 'half' flower and two 'clear' flowers.
Likewise if the database retured the value 3.5 for SWEET, the SWEET images would be three 'solid' blocks, one 'half' and one 'clear' block.
In other words it would show exactly how it is displayed on the page: cyclopsbeer.co.uk/dynamiclist.php?beer_id=1
In summary - the page needs a bit of php in it to display a certain combination of flowers and blocks depending on the number value returned for each 'bitter' or 'sweet' recordset.
The values in the database would range from 0 to 5 and include .5 half values.
The web page can be sent over along with any Db or FTP details and the lines concerned are in the ul classes <ul class="col-2"> and can be seen on lines 234 to 250 in the webpage dynamiclist.php
If anyone who can help me out here it would be much appreciated and undoubtably lead to more php work that comes my way.
Cheers
Chris
It shows characteristics of a beer - the values and descriptions of which are returned from a recordset from a table called 'beers' held in a MySQL database
The php code request is for this page to display a specific row of images for the 'BITTER' and 'SWEET' numerical values returned from the database.
(For illustrative purposes I have inserted these actual numerical values returned from the database which appear on the page bottom-left of the 'Bitter' and 'Sweet' titles).
For example, if the database returned the value '2.5' from the db (held in table column 'bitter') for a certain beer, the row of images for BITTER would show 2 'solid' flower images, one 'half' flower and two 'clear' flowers.
Likewise if the database retured the value 3.5 for SWEET, the SWEET images would be three 'solid' blocks, one 'half' and one 'clear' block.
In other words it would show exactly how it is displayed on the page: cyclopsbeer.co.uk/dynamiclist.php?beer_id=1
In summary - the page needs a bit of php in it to display a certain combination of flowers and blocks depending on the number value returned for each 'bitter' or 'sweet' recordset.
The values in the database would range from 0 to 5 and include .5 half values.
The web page can be sent over along with any Db or FTP details and the lines concerned are in the ul classes <ul class="col-2"> and can be seen on lines 234 to 250 in the webpage dynamiclist.php
If anyone who can help me out here it would be much appreciated and undoubtably lead to more php work that comes my way.
Cheers
Chris
Chris P.
100% (18)Projects Completed
28
Freelancers worked with
27
Projects awarded
46%
Last project
13 Mar 2024
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies