Reply
Newbie - Changing the year variable
Old 11-19-2007, 12:30 PM Newbie - Changing the year variable
Junior Talker

Posts: 1
Name: Matt
Forgive guys, I'm as new as can be.

I'm a designer with very little php experience. I'm now working for a company that would like me do edit their php database, as the person that used to do the work left.

Customers can currently buy a product from their Yahoo store. When they do, their information is stored in the database. A variable, 'Source', is automatically set to 2007. However, we would like this changed to 2008.

I have absolutely no idea where to look, and even if I knew I wouldn't know what to do once I got there.

I'm sure I'm giving the worst possible description of my dilemma and it's not likely that what I am providing is enough for you guys to help, but if you can offer any help at all I'd be extremely grateful.

Thanks much!!!
Matt
kingmatt54 is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 11-19-2007, 02:55 PM Re: Newbie - Changing the year variable
Skilled Talker

Posts: 91
can you give more details about this script. the value for 'source' can be assigned dynamically like $source = date ("Y"); in that case you have to change nothing and 2007 become 2008 automatically next year, or the assigment is static and somewhere in your script is a line like $source = 2007; and have to find this line. something similar can also be in the structure of your database table like the default value of the field 'source' but it has nothing to do with php
Falcone is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Newbie - Changing the year variable
 

Thread Tools

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

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




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11570 seconds with 12 queries