Welcome Guest, Not a member yet? Register   Sign In
Cannot Pass More than two variable to view
#2

This is line 61:
PHP Code:
<P>Total Spends is <?=$row->price?></P> 

It gives an error because $row is an array, not an object.

So change it into:
PHP Code:
<p>Total Spends is <?=$row["price"];?></p> 
like the way you've done in line 38 to 43.
Reply


Messages In This Thread
RE: Cannot Pass More than two variable to view - by Wouter60 - 04-21-2018, 02:25 PM



Theme © iAndrew 2016 - Forum software by © MyBB