Index

(server)

o2dbs_execute

integer o2dbs_execute(string $server_name, string $command_str)

Executes sql script command directly on database server.
Returns the number of affected rows.
This function is useful to execute statements, like UPDATE, DELETE, CREATE, ecc...
If you need to retrieve a dataset see o2dbs_query() function instead.


Parameters:
  1. $server_name
  2. $command_str
Related functions:

o2dbs_query

o2dbs_commit

o2dbs_engine