I've used some php code in a block that appears on all pages and now receive a fatal error and cannot access the site. In what table and field can I find the Block body content in the database for a Drupal 7 site? I plan to edit the Block body content directly in phpMyAdmin.

1 Answer 1


block_custom table is what you are looking for.


  • Thanks. The table is block_custom and the field is body
    – pxwise
    Commented Sep 12, 2013 at 19:44
  • And boxes in Drupal 6
    – eapo
    Commented Mar 27, 2016 at 0:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.