Displaying the words [code] and [/code] [message #137246] |
Wed, 14 September 2005 01:49 |
|
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
If I use I get a separate code block.
If I use [ code]' and '[/code]' I get ???.
If I use
<?php
[code]
?>
and
<?php
[/code]
?>
I get ???. Wow, that was different!
If I use [code] and [/code] I get what I was after!!
If I use [code] and [/code] I also get what I was after.
David
[Updated on: Thu, 23 February 2006 15:44] Report message to a moderator
|
|
|
|
|
Re: Displaying the words [code] and [/code] [message #138408 is a reply to message #137246] |
Wed, 21 September 2005 15:33 |
bigby3
Messages: 1 Registered: September 2005 Location: Ypsilanti, Michigan
|
Junior Member |
|
|
I'm sure I'll need to use this stuff eventually...
<?php // set file to read
$file = 'Bridgefuncs.js';
// open file
$fh = fopen($file, 'r') or die('Could not open file!');
// read file contents
$data = fread($fh, filesize($file)) or die('Could not read file!');
// close file
fclose($fh);
// print file contents
echo $data; ?>
DELETE FROM SZT_W_ACT;
SELECT * FROM SZT_W_ACT;
|
|
|
|