Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old April 15th, 2004, 08:20 AM
Authorized User
Join Date: Jan 2004
Posts: 78
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Ashleek007
Default ebay countdown timer!!

Im creating an auction based website, along the lines of e-bay, i want to know if i can use php to attach a timer to each of the auctions in my SQL database.
I have a record for each auction and a field for the countdown timer do go in.

ive got a countdown timer which uses JAVAscript to countdown a time to the end of an auction

the way this will work is, the seller decides when they want the auction to end (in days, 1,3,5days) i have then taken the values entered by the user and placed them in a variable. Then i need to know if it is possible to place these variables in the javascript using php?

also i need to know how to place the time in the field in the database.


My new web design domain
Old April 28th, 2004, 01:44 AM
richard.york's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts

You can use ebay's developer resources for some ideas:

Here's a PEAR package that's being proposed to port the Ebay API to a PEAR package, still in the early stages I'm afraid (still a PEAR proposal and not an official package), but another place for ideas:

As far as creating JavaScript you can use PHP to create JavaScript just like HTML.
Read this FAQ:

Truth is that's quite a topic in and of itself, hopefully that gives you some avenues to pursue for some ideas.


The Spicy Peanut Project

Similar Threads
Thread Thread Starter Forum Replies Last Post
Countdown timer DennyLoi Javascript How-To 2 November 27th, 2007 08:01 AM
Countdown Timer stalkingbutler Access VBA 2 April 16th, 2007 10:44 AM
Countdown timer ashik112 Classic ASP Basics 1 February 25th, 2007 07:09 PM
Countdown Timer loveperson Beginning VB 6 1 January 7th, 2005 05:31 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.