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

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.