Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New Coder
    Join Date
    Apr 2009
    Posts
    10
    Thanks
    4
    Thanked 0 Times in 0 Posts

    What is sql_command()

    I've scoured my reference books, and online (mysql.com especially) with no luck. Can someone explain to me what it does? Or at least point me towards reference on it?

  • #2
    Senior Coder CFMaBiSmAd's Avatar
    Join Date
    Oct 2006
    Location
    Denver, Colorado USA
    Posts
    3,077
    Thanks
    2
    Thanked 320 Times in 312 Posts
    It's likely a user written function.

    You would need to show where you found it and how it is being used for anyone to be able to help. Taken out of context it has absolutely no meaning.
    If you are learning PHP, developing PHP code, or debugging PHP code, do yourself a favor and check your web server log for errors and/or turn on full PHP error reporting in php.ini or in a .htaccess file to get PHP to help you.

  • Users who have thanked CFMaBiSmAd for this post:

    aslum (04-29-2009)

  • #3
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts
    if it is a tutorial code or an example of code, it is likely a generic term. one example of such would be :

    Code:
    $sth->execute();
    which tells a prepare statement to run and to interact with the database.

    post your code so we can see more because, it could be what CFMaBiSmAd said too


    bazz
    "The day you stop learning is the day you become obsolete"! - my late Dad.

    Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
    Useful MySQL resource
    Useful MySQL link

  • Users who have thanked bazz for this post:

    aslum (04-29-2009)

  • #4
    New Coder
    Join Date
    Apr 2009
    Posts
    10
    Thanks
    4
    Thanked 0 Times in 0 Posts
    It's from Meeting Room Booking Software (which while open source is pretty huge, and sometimes hard to sift through). I'm guessing it is just custom code, though I couldn't find the function declaration anywhere which is why I wanted to check and make sure it wasn't an actual SQL/php command.
    Thanks.
    Last edited by aslum; 04-29-2009 at 09:41 PM. Reason: I can spell, really.

  • #5
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts
    try this link in case it helps you. I still am unsure coz we haven;t seen the code.

    http://www.cui.unige.ch/db-research/...l_command.html

    bazz
    "The day you stop learning is the day you become obsolete"! - my late Dad.

    Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
    Useful MySQL resource
    Useful MySQL link

  • #6
    Senior Coder CFMaBiSmAd's Avatar
    Join Date
    Oct 2006
    Location
    Denver, Colorado USA
    Posts
    3,077
    Thanks
    2
    Thanked 320 Times in 312 Posts
    A programming editor like notepad++ will allow you to search through all files in specific folders for the occurrence of a string.
    If you are learning PHP, developing PHP code, or debugging PHP code, do yourself a favor and check your web server log for errors and/or turn on full PHP error reporting in php.ini or in a .htaccess file to get PHP to help you.

  • #7
    New to the CF scene
    Join Date
    Apr 2009
    Location
    USA
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    sql_command is a specialized common used in sql in defining, controlling and modifying data...
    Last edited by Fou-Lu; 04-30-2009 at 06:42 PM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •