CI_DB_driver::update_string()

update_string($table, $data, $where)

Parameters:
  • $table (string) – The target table
  • $data (array) – An associative array of key/value pairs
  • $where (mixed) – The WHERE statement conditions
Returns:

The SQL UPDATE statement, as a string

Return type:

string

Generate an UPDATE statement string.

doc_CodeIgniter
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.