## db_delete_field

bool db_delete_field (string tablename, string field)

Deletes a field in a table.

Arguments

tablename is the name of the table that will be affected.
field is the name of the field (column) that will be removed from the table.

Result

The function returns TRUE if successful or FALSE otherwise.

Example

`// Delete the field "Tel./Fax" in mytable $result = db_rename_field("mytable","Tel./Fax");`

See also

Database functions
Database support