On Tuesday 01 February 2005 09:41, Pagongski wrote:

Please use a *descriptive* subject.

> 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!

You're trying to use the function supscript() as though it returned a value, 
it doesn't, it just prints something out directly.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
New Year Resolution: Ignore top posted posts

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

Reply via email to