|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-04-12 14:35 UTC] jplock at bigfoot dot com
[2001-04-24 17:41 UTC] sterling@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 12:00:01 2025 UTC |
In one of my scripts, I make a function call to a function which contains the xslt_process() function. After this function, I am inserting an entry into my database for logging purposes. test.php -------- function html_transform($xsl, $xml) { if (!xslt_process($xsl, $xml, &$html)) { header("Status: 500 Server Error"); echo xslt_error(); echo "ERROR ".$php_error_msg; exit; } else { return($html); } } $xml = <loaded from file>; $xsl = <loaded from file>; $html = html_transform($xsl,$xml); echo $html; mysql_query("INSERT INTO table..."); echo mysql_insert_id(); the insert id is incrementing my 2, unless I disable the xslt_process() function. Really strange and I think its a bug in the xslt_process() function.