RE: [PHP] problem with classes
| From: | James Moore | Date: | Fri, 09 Feb 2001 19:21:35 +0000 |
| Subject: | RE: [PHP] problem with classes | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-38989@lists.php.net to get a copy of this message | ||
> I
m 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).
Use " not '
James