Jump to content

Archived

This topic is now archived and is closed to further replies.

Moron

Okay, I give up. What's the answer?

Recommended Posts

Why varchar(100) on the day, month and year?

Share this post


Link to post
Share on other sites
That is just showing you what my table is structured like. Has nothing to do with the code. DO NOT INCLUDE IT ON YOUR PAGE!!

Well I keep asking how the fields are structured and I get no answer so I set them as varchar for worst case senario.

Ray

Share this post


Link to post
Share on other sites
[quote author=craygo link=topic=104649.msg417998#msg417998 date=1155911724]
That is just showing you what my table is structured like. Has nothing to do with the code. DO NOT INCLUDE IT ON YOUR PAGE!!

Well I keep asking how the fields are structured and I get no answer so I set them as varchar for worst case senario.

Ray
[/quote]

I see. Thanks. I first tried it with only the second section and it tossed a syntax error. I'll take another crack at it.

Share this post


Link to post
Share on other sites
Really that last post by craygo should work.  No problem.

Ohh sorry about the error I posted originally.

[quote]also this does not look right


Code:
$day=$RESULT['Lmo']."/".$RESULT['Lda']."/".$RESULT['Lda'];
  $day_timestamp=strtotime($day);
shouldn't it be

Code:
  $day=$RESULT['LYR']."/".$RESULT['Lmo']."/".$RESULT['Lda'];
  $day_timestamp=strtotime($day);[/quote]

Share this post


Link to post
Share on other sites

×

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.