Re: Is it possible to have the parameters fo a function be exited HTML?

From: Date: Fri, 22 Jun 2001 22:49:32 +0000
Subject: Re: Is it possible to have the parameters fo a function be exited HTML?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-54941@lists.php.net to get a copy of this message
I suggest to you try it! What can you loose? <php echo htmlspecialchars (?><pre><?php '<'); ?> and the result: Parse error: parse error, expecting `')'' in c:\www\tries\file1.php on line 6 ----- Original Message ----- From: "Jason Lustig" <lustig@acsu.buffalo.edu> To: <php-general@lists.php.net> Sent: 2001. június 22. 16:40 Subject: [PHP] Is it possible to have the parameters fo a function be exited HTML? > Is it possible to break up the parameters of a function with ?> and <?php ?? > > What I mean by this, for example, is this: > > > <snip> > > <?php > > strtoupper( > > ?> > > <table> > <tr> > <td> > <a href="http://www.php.net">php.net</a> > </td> > </tr> > </table> > > <?php > > ); > > ?> > > </snip> > > With this example, will it output the following HTML? > > > <snip> > > > <TABLE> > <TR> > <TD> > <A HREF="HTTP://WWW.PHP.NET">PHP.NET</A> > </TD> > </TR> > </TABLE> > > > </snip> > > I know it's not a very useful use of strtoupper()... :) But I am curious > about whether it is possible to have the parameters to a function in exited > HTML. Is it possible? > > --Jason > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#54941) next »