Delicious Bookmark this on Delicious Share on Facebook SlashdotSlashdot It! Digg! Digg



PHP : Function Reference : SESAM Database Functions : sesam_execimm

sesam_execimm

Execute an "immediate" SQL-statement ()
string sesam_execimm ( string query )

Example 2213. sesam_execimm() Example

<?php
$stmt
= "INSERT INTO mytable VALUES ('one', 'two')";
$result = sesam_execimm($stmt);
$err = sesam_diagnostic();
echo
"sqlstate = " . $err["sqlstate"] . "\n".
     
"Affected rows = " . $err["rowcount"] . " == " .
     
sesam_affected_rows($result) . "\n";
?>

Change Language


Follow Navioo On Twitter
sesam_affected_rows
sesam_commit
sesam_connect
sesam_diagnostic
sesam_disconnect
sesam_errormsg
sesam_execimm
sesam_fetch_array
sesam_fetch_result
sesam_fetch_row
sesam_field_array
sesam_field_name
sesam_free_result
sesam_num_fields
sesam_query
sesam_rollback
sesam_seek_row
sesam_settransaction
eXTReMe Tracker