Personal tools
From wiki.swiftlytilting.com
Jump to: navigation, search

WinBinder Manual/db table exists

Checks for the existence of a table in the current database.

Syntax

bool db_table_exists(string tablename)

Arguments

  • tablename is the name of the table to be looked for.

Result

Returns TRUE if the table exists, FALSE otherwise.

Example

// Check for table

if(db_table_exists("mytable")) {
    echo "mytable exists";
}

See also


Winbinder Projects