ASP to PHP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pbmods
    Recognized Expert Expert
    • Apr 2007
    • 5821

    #16
    Heya, SClarkstone.

    Switch requires parenthesis. E.g.,

    [code=php]
    switch( substr($cleanPo stCode,0, 2) )
    {
    [/code]

    Comment

    • Markus
      Recognized Expert Expert
      • Jun 2007
      • 6092

      #17
      Originally posted by pbmods
      Heya, SClarkstone.

      Switch requires parenthesis. E.g.,

      [code=php]
      switch( substr($cleanPo stCode,0, 2) )
      {
      [/code]
      Good spot!

      Comment

      • pbmods
        Recognized Expert Expert
        • Apr 2007
        • 5821

        #18
        Originally posted by markusn00b
        Good spot!
        Woof !

        Comment

        Working...