cPrimaryKey::GetFieldIndex() - rstoetter/libsqlphp GitHub Wiki
Method GetFieldIndex( )
public integer rstoetter\libsqlphp\cPrimaryKey::GetFieldIndex(string $fieldname)
- Namespace : rstoetter\libsqlphp
- Class name: cPrimaryKey
- This method is defined by rstoetter\libsqlphp\cPrimaryKey
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