Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

Code posting


I'am a little bit confused when I want to insert code
in PHP-Fusion forum, because all lines are located
by left side. There is no structure of the code!

For example lets take one simple java program:


import java.util.Scanner;

class band2{
   public static void main(String args[]){
      Scanner myScanner=new Scanner(System.in);
      double amount;
      System.out.print("Enter your amount: ");
      System.out.print("We will bill $");
      System.out.println("to your credit card.");



How you see, the code does not have any structure...
It should be in this way(see the attachment)...

So any ideas how to fix it ? Maybe I do smth wrong ?
Thread Information
1 post
1,750 times
Last Post
Last updated on 14 years ago
You can view all discussion threads in this forum.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You cannot download attachments in this forum.