Announcement

Collapse
No announcement yet.

question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • question

    when i add code to a code that ends liek this } or this { and the code i am adding starts like this
    //blablabla do i need a blank line between the two or does it not matter and also if the code i add starts like this if.... do i need to do the same thing
    My FFXI Linkshell Website
    - http://www.stealthvertigo.com

  • #2
    It shouldn't ever really matter how PHP code is spaced. It is parsed either way.

    Comment


    • #3
      what i would suggest doing...

      Heres what I suggest:

      If you have a question on the syntax of the code, first, try it and see if it works or not.

      Then consult the PHP manual (easily found at www.php.net), they have a forum there that is just for PHP syntax. Then, if you can not find the answer, then come and ask us.

      But just try your idea first.

      Thanks,
      -Vic

      Comment


      • #4
        anyone here follow the PEAR Coding Standards?

        Comment


        • #5
          im looking at it, would be good to define a set way of coding, but im not seeing the true purpose of it....

          Comment


          • #6
            standards

            The PEAR standards are basically a way to follow coding instructions so that other PEAR followers can eaisly read your code and such.

            I find it very useful.

            Just my $0.02.
            -Vic

            Comment


            • #7
              yea, this looks like a very good idea

              Comment

              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
              Working...
              X