1
When I import the immovable xml it does the math according to the criteria. One of the criteria is the price, the most expensive appear first, for that I divided the price value by 10 million and sum the result in his ranking.
Ex: Property with 1500+ (price of 10,000,000/10,000,000) = 1501
But when I do this count, it stops the import and makes this mistake:
Unsupported error operand types on line 332
Which is the line where the code if ends below:
if ($tipo==Venda){
$ordem = $ordem + $preco/10000000;
}
Does anyone know what might be going on?
First: are there any quotation marks involving the term "Sale" in the condition? Second: what are the types of variables?
– Woss