Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Programming > Libraries

    TbsSQL 3.1

    Download button

    No screenshots available
    Downloads: 412  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Skrol 29 | More programs
    LGPL / FREE
    October 13th, 2010, 19:08 GMT [view history]
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    TbsSQL description

    A PHP class for SQL abstraction

    TbsSQL is a PHP class for SQL abstraction. TbsSQL's goal of this tool is to reduce the code when working with SQL through PHP. The TbsSQL is available for the following databases:

    - MySQL
    - MySQLi
    - SQL-Server (via Ms-Odbc)
    - PostgreSQL (version 7.2 or higher)

    Example:

    $id = 29;
    $name = "boby";
    $Db->Execute('UPDATE table1 SET name=@2@ WHERE (id=%1%)', $id, $name);


    In this example, the SQL statement sent to the database will be: UPDATE table1 SET name='boby' WHERE (id=29)

    TbsSQL supports the following jokers in your SQL statements (n must be the number of the place of the argument in the TbsSQL command)

    - %n% the argument will be protected against Sql Injection.
    - @n@ the argument will be protected against Sql Injection and delimited as a string value with the relevant format for the database.
    - #n# the argument will be converted as a date value without time with the relevant format for the database.
    - ~n~ the argument will be converted as a date and time value with the relevant format for the database.


    Product's homepage

    What's New in This Release: [ read full changelog ]

    · This release brings new features and a few bug fixes. Oracle databases are supported.
    · The method ConfInfo() was added to display configuration information at any time.
    · New constants include TBSSQL_1MINUTE, TBSSQL_DISABLED, and TBSSQL_ALWAYS.

      


    TAGS:

    PHP class | SQL abstraction | PHP library | TbsSQL | PHP | class



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM