I get this error
Notice: A non well formed numeric value encountered in C:\wamp\www\agenda\index2.php on line 178

on th following line :

echo ' <b><a href="engine/changedate.php?date=' . date("Y-m-d", $dtime) . '">' . date("Y-m-d", $dtime) . '(' . $days . ')</a>:</b><span title="' . $recordSet->fields["description"] . '">' . $recordSet->fields["title"] . '</span>';

any ideas?

Recommended Answers

Echo the value of $dtime and see what its value is.

Jump to Post

All 4 Replies

Echo the value of $dtime and see what its value is.

It's a date like "2012-11-28" still the error appears

It's a date like "2012-11-28" still the error appears

Since you've marked this as solved, I assume you found that the second argument is supposed to be a timestamp as per the PHP manual, yes?

Yes, actually i had changed the type of date in my db, so that changedate was not necessery anymore, i simply deleted it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.