Jump to content

no error displayed, but refusing to asign value ot variable???


PC Nerd

Recommended Posts

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

Archived

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

×
×
  • 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.