Date: 02/21/99
- Next message: Bug Database: "[PHP-DEV] Bug #1063 Updated: when I tried to do an ftell on a valid file pointer it said it was a not valid."
- Previous message: Bug Database: "[PHP-DEV] Bug #1075 Updated: No warning is Header() is used after the headers have been sent ?"
- Maybe in reply to: Bug Database: "[PHP-DEV] Bug #1172 Updated: Generates parse error"
- Next in thread: Jim Winstead: "Re: [PHP-DEV] Bug #1172 Updated: Generates parse error"
- Reply: Jim Winstead: "Re: [PHP-DEV] Bug #1172 Updated: Generates parse error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This version works. short_tags was needed....
<?php header("Content-type: text/xml");short_tags(false); ?>
<?xml version='1.0'?>
<procedure><![CDATA[
<?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>
Should the default in the ini file be switched to off now that there is xml
support in php?
short_tags is not an obvious thing for a new user to look for when their xml
doesn't work.
Thanks for the help,
Jon Smirl
jonsmirl <email protected>
-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>
- Next message: Bug Database: "[PHP-DEV] Bug #1063 Updated: when I tried to do an ftell on a valid file pointer it said it was a not valid."
- Previous message: Bug Database: "[PHP-DEV] Bug #1075 Updated: No warning is Header() is used after the headers have been sent ?"
- Maybe in reply to: Bug Database: "[PHP-DEV] Bug #1172 Updated: Generates parse error"
- Next in thread: Jim Winstead: "Re: [PHP-DEV] Bug #1172 Updated: Generates parse error"
- Reply: Jim Winstead: "Re: [PHP-DEV] Bug #1172 Updated: Generates parse error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

