#1

warning 213: tag mismatch


PHP код:
price = (Prop[i][PropPrice] / 1.25); 
the problem is 1.25
Reply
#2

Код:
new price = (Prop[i][PropPrice] / 1.25);
Reply
#3

Quote:
Originally Posted by sams90
Посмотреть сообщение
warning 213: tag mismatch


PHP код:
price = (Prop[i][PropPrice] / 1.25); 
the problem is 1.25
price must be a Float, because 1.25 is one as well. If you don't want price to be a Float, use floatround() to round it to the closest integer value:

PHP код:
price floatround(Prop[i][PropPrice] / 1.25); 
Reply
#4

Quote:
Originally Posted by NaS
Посмотреть сообщение
price must be a Float, because 1.25 is one as well. If you don't want price to be a Float, use floatround() to round it to the closest integer value:

PHP код:
price floatround(Prop[i][PropPrice] / 1.25); 
Ooh yeh fixed thank you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)