Sorry, perhaps I should have been a bit more specific. Here is my *.php file. I want the "hello world" script to output to the "Right Menu" table on my web page: http://213.84.71.105/ .
<?php $xml = "./test.xml"; $xsl = "./test.xsl"; $_parser = xslt_create(); if( !$result = @xslt_process( $_parser, // resource xh $xml, // string xml $xsl, // string xsl NULL, // string result array(), // array arguments array() // array parameters ) ) { printf( "Sablotron Error (%s): <br /><strong>%s</strong>", xslt_errno($_parser), xslt_error($_parser) ); } xslt_free($_parser); echo $result; ?> On Mon, Jun 10, 2002 at 02:23:21PM +0800, James wrote: > It's quite easy to display a result within a table, here are two > examples... > > <?php > $myvar = "Hello World"; > ?> > <html> > <body> > <table> > <tr> > <td><?= $myvar ?></td> > </tr> > </table> > </body> > </html> > > <?= $var ?> is the equivalent to <?php echo $var ?> <snip> -- Bill Amsterdam, NL -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php