The thing is that the result html code is to be parsed by HTMLDOC (pdf
generator) to create pdf from the webpage. By inserting <-- "some string"
!--> into the html, HTMLDOC can catch these strings and act from them.

example:

$result_html = " ... html code....<-- " FOOTER CENTER $LOGOIMAGE footer.jpg
" !--> ... more html code";

result_html is the page contens for HTMLDOC to parse and through that catch
the footer code and insert footer.jpg as the footer on the pdf pages.

the problem is that php converts $LOGOIMAGE to a php variable. \$LOGOIMAGE
doesn't seem to work.

"Robert Janeczek" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I just wanted to know how to use strings with $ sign.
> >
> > If a word starts with a dollar sign php will think it's a variable, how
> can
> > I make
> > " $bla bla  and bla $bla " to stay that way?
> > Will this work? " \$bla bla  and bla \$bla "
>
> don`t use "" - use ''. php doesn`t parse variables in such kind of
strings.
> ' $bla bla  and bla $bla '
>
> " \$bla bla  and bla \$bla " - this should work too, but i haven`t
checked.
>
> rash
>
>



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

Reply via email to