Personal tools
From wiki.swiftlytilting.com
Jump to: navigation, search

WinBinder Manual/db delete field

Deletes a field in a table.

Syntax

bool db_delete_field(string tablename, string field)

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


Winbinder Projects