PHP Code

  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Posts: 3422
  • Loc: Richland, WA

Post 3+ Months Ago

In some cases if someone pastes some code and does not put the ending tags for php it will automaticly add them.

http://www.ozzu.com/programming-forum/whats-wrong-with-this-t74041.html

Why is this and does it have to be there?

Some times its hard to help someone when the code is not being put on the page properly.
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Posts: 9091
  • Loc: Seattle, WA & Phoenix, AZ

Post 3+ Months Ago

Weird, I thought I had that bug worked out. I will have to look into it more.

See this works fine:

PHP Code: [ Select ]
$var = 4;
 
$var2 = 3;
 
 
  1. $var = 4;
  2.  
  3. $var2 = 3;
  4.  
  5.  
  • Nucleo
  • SausagePorkPie
  • Mastermind
  • User avatar
  • Posts: 2297
  • Loc: UK - England

Post 3+ Months Ago

seems ok to me too

:roll:


PHP Code: [ Select ]
 
<?php
 
 
 
$var = 1;
 
$var2 = 12;
 
 
 
 
  1.  
  2. <?php
  3.  
  4.  
  5.  
  6. $var = 1;
  7.  
  8. $var2 = 12;
  9.  
  10.  
  11.  
  12.  

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 2 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.