Bug #1172: Generates parse error
| From: | jonsmirl at mediaone dot net | Date: | Sun, 21 Feb 1999 18:27:26 +0000 |
| Subject: | Bug #1172: Generates parse error | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-4204@lists.php.net to get a copy of this message | ||
From: jonsmirl@mediaone.net
Operating system: Win95
PHP version: 3.0 Latest CVS (21/02/1999)
PHP Bug Type: Parser error
Bug description: Generates parse error
The <?xml tag generates a parse error. Shouldn't non-<?php PIs just be copied to output
like HTML tags? This works ok if you print() the xml PI.
<?php header("Content-Type: text/xml"); ?>
<?xml version='1.0'?>
<procedure><?php
$db = odbc_connect("ASASample", "dba", "sql");
$recs = odbc_exec($db, "sp_helptext " . $procedure);
while (odbc_fetch_into($recs, &$rarr))
printf("%s\n", $rarr[0]);
odbc_free_result($recs);
odbc_close($db);
?></procedure>
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net