W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2005

PHP: <tag prop="<? ?>"...

From: Mike Mestnik <cheako911@yahoo.com>
Date: Thu, 10 Mar 2005 18:36:19 -0800 (PST)
Message-ID: <20050311023620.19360.qmail@web31007.mail.mud.yahoo.com>
To: html-tidy@w3.org

All files start with "<?php" after seeing this in bytes 0 - 5, don't
change '<?' or '?>'.  Nuff said.

IN:
<form action="?section=<? echo $nextpage ?>" method="post">
OUT:
<form action="?section=&lt;? echo $nextpage ?&gt;"...

IN:
      ?><? # <!--- print $tmp ---> ?><?
      $result = mysql_query($tmp, $link);
OUT:
      ?><? # <!--- print $tmp ---?>
<meta name="generator" content="HTML Tidy, see www.w3.org">
<title></title>

?&gt;<?
      $result = mysql_query($tmp, $link);

IN:
      ?><? # <!--- print $tmp ---> ?><?
      $result = mysql_query($tmp, $link);
OUT:
 <? # <!--- print $tmp ---?>
 ?&gt;<?
      $result = mysql_query($tmp, $link);


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
Received on Sunday, 13 March 2005 02:42:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:55 GMT