Re: Asigning function values to variables??

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: Asigning function values to variables??
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-13594@lists.php.net to get a copy of this message
Not entirley sure what you're trying to do but, if the '.box_header' and '.box_footer' are css classes, then it won't show up in people's text-only email. if not then try removing the second periods '.' so i tlooks like: $body .= "box_header('test')."; $body .= "<h1>text</h1>"; $body .= "box_footer()."; HTH Russ $body .= ".box_header('test')."; $body .= "<h1>text</h1>"; $body .= ".box_footer()."; On Sun, 21 Oct 2001 20:06:55 +0200 Luditus <news.letters@gmx.de> wrote: > Hi there, > > I am trying to send an email with html tags coming from functions. > Something is wrong with asigning the value to the variable. I guess I don't > know the proper syntax. > > Can anybody help me out? > > e.g.: > > $body .= ".box_header('test')."; > $body .= "<h1>text</h1>"; > $body .= ".box_footer()."; > > > Thanx in advance > > Luditus > > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > #-------------------------------------------------------# "Believe nothing - consider everything" Russ Michell Anglia Polytechnic University Webteam Room 1C 'The Eastings' East Road, Cambridge e: r.j.michell@apu.ac.uk w: www.apu.ac.uk/webteam www.theruss.com #-------------------------------------------------------#

« previous php.db (#13594) next »