problem with classes

From: Date: Fri, 09 Feb 2001 18:15:51 +0000
Subject: problem with classes
Groups: php.general 
Request: Send a blank email to php-general+get-38982@lists.php.net to get a copy of this message
Im writing one html class for my own usage, but Ive got some problems. Take a look at the example: $ht -> row(2,'','first,second'); This works fine ('first,second' represents an array). But now, when I want to do something like that: $ht -> row(2,'','$something,second'); then it displays $something and second, but I don´t want $something, rather the value of it. When I write just $ht -> row(1,'',$something); it works as expected. Note: Don`t ask about the other atributes, they are not important. How could I get it to work? If I do something like this: $ht -> row(2,'','".$something.",second'); Then still, it echos me ".$something." and second, but not the $somethings value (and the second). I hope you understand what I need. Thanks in advance, Siim Einfeldt PS: Give a copy to my personal email as well.

« previous php.general (#38982) next »