Login +

Documentation

SLS_Sql::getColumnsName

Since SillySmart 1.0

Description

Get all the columns name of one table
public array getColumnsName ( string $table);

Parameters

  • string $table
    table name

Return

array $columns
array of table columns

Notes

Warning, this function is deprecated.

Exemples

  •  var_dump(SLS_Sql::getInstance()->getColumnsName("user"));
     // will produce
     array("user_id", "user_email", "user_pwd")

Comments

No comment on this function, be the first !

Add your comment

You must login/register to post a reply.