Ifa Posted August 18, 2006 Share Posted August 18, 2006 Why varchar(100) on the day, month and year? Quote Link to comment Share on other sites More sharing options...
craygo Posted August 18, 2006 Share Posted August 18, 2006 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 Link to comment Share on other sites More sharing options...
Moron Posted August 18, 2006 Author Share Posted August 18, 2006 [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. Quote Link to comment Share on other sites More sharing options...
akrytus Posted August 18, 2006 Share Posted August 18, 2006 Really that last post by craygo should work. No problem.Ohh sorry about the error I posted originally.[quote]also this does not look rightCode:$day=$RESULT['Lmo']."/".$RESULT['Lda']."/".$RESULT['Lda']; $day_timestamp=strtotime($day);shouldn't it beCode: $day=$RESULT['LYR']."/".$RESULT['Lmo']."/".$RESULT['Lda']; $day_timestamp=strtotime($day);[/quote] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.