Welcome Guest, Not a member yet? Register   Sign In
Convert object value to int ?
#2

[eluser]gon[/eluser]
$maxview is an object, containing 2 properties: 'viewed' and 'maxviewed'.
Use the appropiate one to do the calculation.

Strangely, you do that correctly with $post, but not with $maxview.


Messages In This Thread
Convert object value to int ? - by El Forum - 08-17-2008, 04:23 AM
Convert object value to int ? - by El Forum - 08-17-2008, 04:45 AM
Convert object value to int ? - by El Forum - 08-17-2008, 10:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB