Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 15th, 2004, 08:20 AM
Authorized User
Join Date: Jan 2004
Location: Manchester, , United Kingdom.
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
Reply With Quote
  #2 (permalink)  
Old April 28th, 2004, 01:44 AM
richard.york's Avatar
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2003
Location: Camby, IN, USA.
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
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 01:23 PM.

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