
PHP code writing
- or -
Post a project like this4687
£15(approx. $20)
- Posted:
- Proposals: 3
- Remote
- #305394
- Awarded
Description
Experience Level: Entry
I need a few lines of php code written for an e-commerce product description page..
Currently I am using this bit of code which displays the stock level
CURRENT STOCK:
It displays it like this
CURRENT STOCK: 7
I would like 2 if rules added to it
1. If the stock level is "0" then it displays: - (a dash or hyphen)
2. If the stock level is greater than "10" then it displays: +10
Thanks
Matt
Currently I am using this bit of code which displays the stock level
CURRENT STOCK:
It displays it like this
CURRENT STOCK: 7
I would like 2 if rules added to it
1. If the stock level is "0" then it displays: - (a dash or hyphen)
2. If the stock level is greater than "10" then it displays: +10
Thanks
Matt
Matt P.
100% (2)Projects Completed
7
Freelancers worked with
7
Projects awarded
15%
Last project
19 Jun 2014
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