PC Nerd Posted June 27, 2008 Share Posted June 27, 2008 hi #$now = time(); $date_str = $ROW['Date']; #$date = date("M/D/Y", $date_Str); echo $date_str."<br>"; #$test = strtotime($ROW['A_Time']." ".date("M", $date_str)." ".date("d", $date_str)." ".date("Y",$date_str)); #$test = echo strtotime($ROW['A_Time']." ".date("M/d/Y", $date_str)); #echo $test."<br>"; ok....so apart form the messiness, and the clear lack of thought behidn this........ $test refuses to be assigned to. as you can see ive tried echoing the output of the function, and still nothing. I knwo that the variables used ($ROW['A_Time'] etc), are 100% there and working..... im displahyignthem rightafter this. can anyoen sugegst why the strtotime() function isnt working? Thanks Quote Link to comment Share on other sites More sharing options...
anthrt Posted June 27, 2008 Share Posted June 27, 2008 You're commenting out all of the lines where $test is defined. That's why it's not working. Quote Link to comment Share on other sites More sharing options...
PC Nerd Posted June 27, 2008 Author Share Posted June 27, 2008 thats jus tmy current working model..... see the echo line doesnt display anything....., and when i have swapped around the #'s, it still doesnt assign... any suggestioins? Thanks 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.