How could I insert 1000 coupons at a time from a text file?
![]()
![]()
![]()
How could I insert 1000 coupons at a time from a text file?
![]()
![]()
![]()
The easiest way would be to convert your text file into two CSV files whose columns match those of the coupons and coupons_descriptions tables and then use a database management tool such as phpMyAdmin to import the CSV files into those tables.
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
Hi Kuroi
I will try it when I get a chance. This would be a great feature if you wanted to sell a cd with the coupon code on it, because the files that I license a viewing of will expire after a predetermined time. I have been doing htmland other webmaster stuff for 4 years, I got it all working and was able to add some pics and get the downloads to work.
You can see the shopping cart at: http://secureshopping.greaseandgo.com if you have any sugestions how to make it work better or faster please let me know, I also left on the Parse Time, Number of Queries, Query Times to display.
you can also email me at: info AT greaseandgo DOT com
Thank you
Gene