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



PHP : Function Reference : SESAM Database Functions : sesam_affected_rows

sesam_affected_rows

Get number of rows affected by an immediate query ()
int sesam_affected_rows ( string result_id )

Example 2207. sesam_affected_rows() example

<?php
$result
= sesam_execimm("DELETE FROM PHONE WHERE LASTNAME = '" . strtoupper($name) . "'");
if (!
$result) {
   
/* ... error ... */
}
echo
sesam_affected_rows($result).
   
" entries with last name " . $name . " deleted.\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