Jump to content

RazorMaster

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

RazorMaster's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Well, the first option just give me the actual date/time and is not converting the unix date/time posted... The second option works just fine... But, how to convert this??? $example[$count]['example_timezone'] = date("T", $info['example_time']); This is returning "MDT" instead "GMT". Any chance to convert this??? PS: Thanks a lot to jonsjava... Its a great code to display actual date/time in GMT timezone...
  2. Hi, I need to convert MDT time to GMT time. I have this php code to output a date/time format: $example[$count]['startdate'] = date("j/n/Y", $info['example_start']); The output for this is: 23/05/2008 07:00 MDT But I need this is GMT (0): 23/05/2008 14:00 GMT The ['example_start'] is a unix date/time. I just can't understand how to use mktime() or gmmktime() in here to output correct timezone date/hour... Any help? Thanks.
  3. Hi, I'm trying to add code to compare 2 values from diferent tables. Imagine I have a Table1 ---------- seller_id seller_number Table2 ---------- Buyer_id buyer_number First I don't want sellers become buyers and buyers become sellers, so I have 2 diferent tables for users. This seller_number and buyer_number is like the personnal ID number that users must add while registering. I've successfully coded for fetch the database in case of repeted number, but only for sellers and other for buyers... Now I want: - If a user is trying to register with a number existing in table1 and existing in table2 do not allow and send warning message, or - If a seller is trying to register as buyer, checks number in both tables and if exist, do not allow and send warning message, or - If a buyer is trying to register as seller, checks number in both tables and if exist, do not allow and send warning message. Basicly, it fetch both tables and compare existing numbers with that is trying to be added... Any help, idea? Please? Thanks
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.