Home » Other » Test » Displaying the words [code] and [/code]  () 2 Votes
Displaying the words [code] and [/code] [message #137246] Wed, 14 September 2005 01:49 Go to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
If I use
 and 
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 #137281 is a reply to message #137246] Wed, 14 September 2005 06:06 Go to previous messageGo to next message
tarundua
Messages: 1080
Registered: June 2005
Location: India
Senior Member

 since i m using this site i always wanted to know that how people are doing this


i think now i got it thanks david

tarun

[Updated on: Wed, 14 September 2005 06:06]

Report message to a moderator

Re: Displaying the words [code] and [/code] [message #137333 is a reply to message #137281] Wed, 14 September 2005 13:00 Go to previous messageGo to next message
tarundua
Messages: 1080
Registered: June 2005
Location: India
Senior Member
again testing url

check


email

mymail

[Updated on: Wed, 14 September 2005 13:03]

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 Go to previous messageGo to next message
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;
Re: Displaying the words [code] and [/code] [message #138653 is a reply to message #138408] Thu, 22 September 2005 17:52 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
http://www.vtm.be/auto/forum/images/smilies/old/icon_eek.gif versus Shocked Crying or Very Sad Evil or Very Mad Twisted Evil Rolling Eyes
Previous Topic: Test only
Next Topic: testing bold inside code
Goto Forum:
  


Current Time: Tue Sep 29 20:11:43 CDT 2020