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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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