Current location: Hot Scripts Forums » Programming Languages » PHP » change 1 month to 1 day??


change 1 month to 1 day??

Reply
  #1 (permalink)  
Old 12-14-05, 09:20 PM
puzzele puzzele is offline
New Member
 
Join Date: Dec 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question change 1 month to 1 day??

If somebody can help me solve this puzzle, I would be GRATEFUL. Unfortunately, I am a novice at this. Long story short, I basically have a turnkey legal search website. It seems to be exactly what I want with one minor exception: It allows me to easily select whether a person can advertise on my site from 1 - 12 months. However, I want to change the 1 month period instead to 1 day. Basically, I want to give the person the option to post their ad on the legal search page for free - so they can see what it looks like - and then they have within 24 hours to pay for it (using the 1 year option). Thus, I want the 1 month limitation changed to 1 day. (Right now, it only gives the option of selecting between 1 - 12 months for membership. I want the 1 month membership to be changed to 1 day).

The easiest way to see exactly what I mean is to go to my site:
www.FindThatLawyer.com

Feel free to click on “register” and make up some bogus information (i.e fake name, etc). Then when you click submit, it will give you 2 options: 1) 1 month free trial or 2) 1 year of advertising. I don’t want the person to be able to have 1 month of free advertising – 1 day should be enough time for them to post their ad and see how it looks.

It is very easy for me to select 1 – 12 months. To see how it works, go to:
www.findthatlawyer.com/findthatlawyer/siteadmin
The username/password is:
test
test
Then click on:
Settings
Prices

There you can edit/add the advertising package easily selecting between 1 – 12 months. But there is no option to select 1 day instead.
The problem is I am a total novice and cannot figure out how to modify the .php coding to change the 1 month to 1 day. I have looked through the .php coding but cannot figure out exactly how to do it. It seems only to work in months.

PLEASE PLEASE PLEASE help. Thanks GREATLY in advance.
Reply With Quote
  #2 (permalink)  
Old 12-15-05, 06:32 AM
ben.periton ben.periton is offline
Wannabe Coder
 
Join Date: Oct 2004
Posts: 183
Thanks: 0
Thanked 0 Times in 0 Posts
Grrr....doesn't work in firefox..

This should be pretty straightforward, but it depends how the developer coded the time part. If you can post the code for the saveprice page, it might give us an indication of how it was put together.
__________________
Ben Periton
http://ben.periton.co.uk
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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 On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CIRTEXHOSTING •••» 1000MB Storage & 50GB • $2.99/Month +CPANEL|WHM|FANTASTICO & MORE! Hoobastank68 General Advertisements 0 07-11-05 06:14 AM
my site only have 8 million page views per month and 5000 nique visitors per day jagadish-kushi General Advertisements 2 11-21-04 07:25 AM
VOXROX introduces a complete line of Celeron and Pentium 4 S Everyday General Advertisements 0 11-01-04 10:27 AM
Disable form fields to be submitted RickyRod JavaScript 2 05-24-04 10:15 AM


All times are GMT -5. The time now is 06:23 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.