Đã Đóng

Very Small PHP Function (needed urgently)

I have a MySQL table that contains the following columns:

- ID (Primary Key)

- PromotionCode (Contains some random generated strings as promotion codes)

- Available (Contains either 'Free' or 'NotFree' where the default value is the string 'Free')

I need a php functions that will do the following:

The first function: function CheckPromoCode($PromoCode)

This function will take as an input a promotion code

It will check if it is found in the table or not plus it will check that the Available value is 'Free'

If the above two checks is successful then it will change Available value to be 'NotFree' and return success (i.e. True)

Otherwise it will return failure (i.e. False)

That's it and I need this very urgent

Kĩ năng: PHP

Xem nhiều hơn: php source code authometed manegmet police crime in it project, i need a typist urgently needed intokai area, i have two million i need to start business so i need advice, php, mysql, create a search function in php source code, i need a good designer who can design logo for two company i will not give you any idea how the logo should, i need a good designer who can design logo for two company i will not give you any idea how the logo should look, urgently needed php, php mysql small projects demo code, php zip code radius function, urdu translator urgently needed, programmer needed code php, php pages need doctypes, php programmer need 200812, text orientation using functions php, urgently needed done animation online rendering house, csv functions php, top ten php scripts need, php mysql code bid

Về Bên Thuê:
( 77 nhận xét ) Cairo, Egypt

ID dự án: #11293256

45 freelancer đang chào giá trung bình $325 cho công việc này

rajeshsonisl

Hello! With 98% to 99% completion rate, 900+ successfully completed projects, and a 4.99 reputation (maximum possible, 5.0) (can be verified on my profile page https://www.freelancer.com/u/rajeshsonisl.html !!)... y Thêm

$250 USD trong 1 ngày
(940 Nhận xét)
8.7
shibin123sl

Hello, Hope you are doing great. We gone through project description. We are professional website design and development company operating from India. We have eight years of experience in web/mobile software design an Thêm

$555 USD trong 10 ngày
(142 Nhận xét)
8.0
usatechsoft

HI My Notion : "No Satisfaction, No Payment" We have expertise in Web Design & Development. Please check our client reviews on Elance to determine the quality of our work.: Lets discuss in detail and start now? Thêm

$258 USD trong 1 ngày
(191 Nhận xét)
7.9
mrinal981

Hello, I have read the job details and can implement a Php function as per your needs. - Skilled in PHP/MySQL/Javascript - Available to discuss and can start the job right away Some of PHP sites I have worke Thêm

$500 USD trong 7 ngày
(55 Nhận xét)
7.7
darkwind

Hello, I will create the function as you've described it, accordingly. Looking forward to getting some feedback from you soon. darkwind

$250 USD trong 1 ngày
(267 Nhận xét)
7.6
CodeWolves

Hello Thank you for the opportunity to submit a proposal Looking forward to discuss and work together Please check the profile for our Feedback's and Reputation https://www.freelancer.com/u/CodeWolves.html Re Thêm

$500 USD trong 7 ngày
(135 Nhận xét)
7.5
neoglobal

We can start working on your project from today if needed. You do not need to release any payment until some of the work is shown and uploaded on demo. We have been working on many projects before and many of them c Thêm

$444 USD trong 2 ngày
(53 Nhận xét)
7.2
Paznek

Hi ! Do you have a special framework ? or special requirements for your project ? How will the code be called ? I mean, by a URL Parameter ? or within another of your scripts ? Can you send me the create table Thêm

$250 USD trong 10 ngày
(25 Nhận xét)
6.7
johnflash

Hi, i see you need a php function which would take a promo code and check whether its available, and make it unavailable if it is as well as return true or false. I can get this done for you very quickly, am a well Thêm

$333 USD trong 1 ngày
(20 Nhận xét)
6.8
gotucat

Hi, I am a designer as well as developer and confident in my field of expertise. I work in php, cake php, Laravel ,codeigniter, wordpress, joomla, html5 and can do this. I can assure you quality, revision and bug fixi Thêm

$400 USD trong 7 ngày
(76 Nhận xét)
7.0
a4logic

Dear Sir/Madam, Thank you for this wonderful opportunity. I am keenly considering your job post including these skills.I am working as team leader in A4Logic it is software and web solution company we are operati Thêm

$250 USD trong 2 ngày
(102 Nhận xét)
6.8
sdgcode

Hi, I can do your project in couple hours, you can read my reviews about my skills. If you have a question, please contact me, my working hours are from 10 to 18 GMT+1. Regards

$250 USD trong 0 ngày
(54 Nhận xét)
6.7
AndrewYer

Hello! This project is interesting for me. I'm ready to start it right now and finish asap. Best regards, Andrew

$250 USD trong 0 ngày
(228 Nhận xét)
6.6
yusuf2004

Hello sir! I'm PHP Expert and i can write your function quickly! Please send me message and then let's start to work! Thank you :)

$388 USD trong 1 ngày
(42 Nhận xét)
6.4
pratikshapkl

As i saw your needs,I read all your job description, its according to my working [login to view URL] i heartly desire to get this project.I am seeking better opportunities in long term job because I want to build a long term goo Thêm

$277 USD trong 10 ngày
(122 Nhận xét)
6.6
AwaisChaudhry

Hi there! I have read what you exactly need, however I would like to ask you a few questions. I wouldn't call myself a master but I do work smart and do not rest until I get the job done. Please feel free to ping me an Thêm

$555 USD trong 10 ngày
(27 Nhận xét)
6.1
suraj2

Will be done in not time, I am core php expert of procedural programming. Thanks, Suraj ==============

$250 USD trong 0 ngày
(44 Nhận xét)
5.6
vigilantsoftware

Hello, We would like to thank you for the opportunity to submit our proposal for your project. We are interested to work in your project.I understood that you need Small PHP Function . I need to discuss with you Thêm

$252 USD trong 4 ngày
(28 Nhận xét)
6.4
PhpWebD

- I am a professional back-end developer. - 3 years experience in : * PHP (expert) * HTML (expert) * CSS (good) * jQuery (good) * Javascript (good) * Codeiginiter (very good) * Laravel (good) * Bootstrap ( Thêm

$250 USD trong 1 ngày
(85 Nhận xét)
5.8
TSCreators

dear hiring manager i have done this work many times. i can do this waiting for positive response Thank you regards Tuba [login to view URL]

$250 USD trong 1 ngày
(61 Nhận xét)
5.6