Skip to content

Instantly share code, notes, and snippets.

@saturngod
Created April 18, 2011 04:12
Show Gist options
  • Save saturngod/924802 to your computer and use it in GitHub Desktop.
Save saturngod/924802 to your computer and use it in GitHub Desktop.
delete cache
<?php
//after insert or delete or update
$sql="select * from `prize`";
apc_delete($sql);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment