i don't do php but it looks like you are executing the result of the query

this executes the query and puts the result into $query --$query = <font color='"#FF0000"'>mysql_query</font>(" SELECT `id`, `date_start`, `date_end`, `title`, `theme`, `body` FROM `moca_daysahead` ORDER BY date_start");

then you try to execute the result --`

$result = mysql_query($query) `

ro1960
—
2012-04-12T15:25:07Z —
#4

abduraooft said:

It looks like you have at least one more query in your script and you have supplied the return value of a mysql_query() into it, without fetching any value.

Indeed, this leftover code seemed to have caused the problem.

I removed it and it now works.

Thank you!

r937
—
2012-04-12T15:34:45Z —
#5

who is abduraooft?

ro1960
—
2012-04-13T21:52:32Z —
#6

r937 said:

who is abduraooft?

I am not familiar with this word...

r937
—
2012-04-13T22:09:52Z —
#7

ro1960 said:

I am not familiar with this word...

read post #4 in this thread

Mittineague
—
2014-09-23T23:08:27Z —
#8

This topic is now archived. It is frozen and cannot be changed in any way.