joashp / simple-php-coupon-code-generator Goto Github PK
View Code? Open in Web Editor NEWSimple PHP coupon code generator to genrate N number of coupons.
Simple PHP coupon code generator to genrate N number of coupons.
hi, can this Class generate X amount of coupons that is random & unique?
The usage portion of the documentation shows the generate() function using the parameter syntax that was in the initial commit. The current code uses an $options array with keys.
$numbers = $numbers == 'false' ? false : true ;
$letters = $letters == 'false' ? false : true ;
$symbols = $symbols == 'true' ? true : false ;
$random_register = $random_register == 'true' ? true : false ;
$mask = $mask == 'false' ? false : $mask ;
fixed
$numbers = $numbers == false ? false : true ;
$letters = $letters == false ? false : true ;
$symbols = $symbols == true ? true : false ;
$random_register = $random_register == true ? true : false ;
$mask = $mask == false ? false : $mask ;
Hey Josh ,
The coupon generation is working fine but they dont get exported to the excel file .
Hi,
None of the custom values (other than Number of coupons) appear to be working. I also just noticed the length is always 8 characters, where the default value in the field is 6 characters.
Wanted to pass this along. I'm new to php and this project has been valuable for my learning.
Best,
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.