How to write ½ in php
Posted
by skarama
on Stack Overflow
See other posts from Stack Overflow
or by skarama
Published on 2010-03-08T17:58:00Z
Indexed on
2010/03/08
18:06 UTC
Read the original article
Hit count: 179
Hi everyone,
Quick question, how can I make this valid :
if($this->datos->bathrooms == "1½"){$select1 = JText::_( 'selected="selected"' );}
The ½
doesn't seem to be recognized. I tried to write it as ½
but then it looks for ½
literally, and not the ½
sign. Any ideas?
© Stack Overflow or respective owner