Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 2 of 2 FirstFirst 1 2
Results 11 to 16 of 16

Thread: Mysql problem

  1. #11
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    Quote Originally Posted by Shadowfiend
    I'm not sure what the point of giving default parameters for the function is if they're not going to be used, but whatever.
    I never design a function assuming I'll never use it again. The defaults are there assuming default MS SQL Server login/catalog.

  2.  

  3. #12
    Member
    Join Date
    Jul 2007
    Posts
    64
    Member #
    15493
    I'm waiting on his reply. I'm only trying to install it on my site and shouldn't be anywhere near this stuff, tbh.

    Teaches me to next time, pay for installion as well. :P

  4. #13
    ljm
    ljm is offline
    Senior Member ljm's Avatar
    Join Date
    Aug 2006
    Location
    Manchester, England
    Posts
    284
    Member #
    13684
    Liked
    1 times
    I'd like to know what the point of this is:
    Code:
    $result=$result+1-1;




  5. #14
    Senior Member
    Join Date
    Jun 2005
    Location
    Atlanta, GA
    Posts
    4,146
    Member #
    10263
    Liked
    1 times
    That wouldn't be designing the function assuming you'll never use it again... It turns out, even if you're using the default, you can use a function that doesn't have defaults for its parameters

    And I think the increment-decrement is a cheap way of doing a conversion to a number.

  6. #15
    Member
    Join Date
    Jul 2007
    Posts
    64
    Member #
    15493
    Well, the coder doesn't seem to want to help. Anyone have a link to websites that have manuals on variable stuff? So I can read up on it.

  7. #16
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times


Page 2 of 2 FirstFirst 1 2

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:23 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com