|
|
#1 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Mar 2004
11 posts
Gave thanks: 0
Thanked 0 times
|
Hi everyone
My php coding skills are sorely lacking. I'm working on a site using phpAuction. This site needs ALL of the auctions to end on the same date, regardless of when they were added. I'm guessing a modification needs to be done to the durations.php file, but I'm not sure how/what to modify. Can anyone lend a hand with this? Point me in the right direction? Thanks in advance!!
__________________
Traci Reseller on Server Dime32 |
|
|
|
|
|
#2 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Oct 2005
Lives in Canada
Hosted on Pass24
8 posts
Gave thanks: 0
Thanked 0 times
|
I have never used phpAuction, but I am pretty sure there is a column in the database that has the end-time. All you would have to do is run a query to set the end time to the time you want.
Code:
UPDATE `auction_table` SET `auction_end` = 'whenyouwanttoendtheauction' |
|
|
|
|
|
#3 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Mar 2004
11 posts
Gave thanks: 0
Thanked 0 times
|
Thanks for the reply! I actually found where to change it via phpMyAdmin. But your solution would work across the board and be quicker than changing each individual auction! THANKS!
__________________
Traci Reseller on Server Dime32 |
|
|
|
|
|
#4 (permalink) |
|
Registered User
Comfy Contributor
Joined in Sep 2005
Hosted on sh84
117 posts
Gave thanks: 0
Thanked 0 times
|
If phpAuction loads data to a table, you could do a single update SQL command to change your auction end time.
__________________
datadoggie.com | Server: SH84 Bike Odometer: 140 miles |
|
|
|