cPrimaryKey::GetFieldIndex() - rstoetter/libsqlphp GitHub Wiki

Method GetFieldIndex( )

 public   integer rstoetter\libsqlphp\cPrimaryKey::GetFieldIndex(string $fieldname)

The method GetFieldIndex( ) returns the index of a certain field name

Example:

Arguments

  • $fieldname string - <p>is the name of the field to search</p>

Returns

integer the index of the field or -1