Skip to content

dev rstoetter cSqlScript cSqlScript::ExistsTable()

Rainer Stötter edited this page May 31, 2018 · 1 revision

Method ExistsTable( ) - of API Reference dev

 protected  static   boolean rstoetter\cSqlScript\cSqlScript::ExistsTable(\rstoetter\cSqlScript\mysqli $mysqli, string $tablename)
  • Namespace : rstoetter\cSqlScript
  • Class name: cSqlScript
  • This method is defined by the class rstoetter\cSqlScript\cSqlScript

The method ExistsTable( ) checks whether a table exists or not

Example:

Arguments

  • $mysqli \rstoetter\cSqlScript\mysqli - <p>the database connection</p>
  • $tablename string - <p>is the name of the table to check</p>

Returns

boolean true, if the table $tablename exists