simple question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have this function:

function supscript($texto)
{
   print("<sup>".$texto."</sup>");
}

But when i do:

	print "2".supscript("3");

	I get the "3" before the "2", how is that posible?

And:

	print(supscript("3")."2");

	makes the 2 appear before the 3.
	I am confused!

	Thanks

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux