• [Topic moderated per http://codex.wordpress.org/Forum_Welcome#Choose_A_Good_Topic_Title ]

    So i’m doing work for a client…what happened was that a picture was deleted on a page (linked to a php template), and he doesn’t know how to replace it. So since the page itself is of course blank, I go to the PHP template, and find the code for the page, which is:

    <span>
    <?php the_title(); ?><br />
    <?php $custom_fields = get_post_custom(); ?>
    <?php echo $custom_fields['person_designation'][0]; ?><br />
    <a href="mailto:<?php echo $custom_fields['person_email'][0]; ?>"><?php echo $custom_fields['person_email'][0]; ?></a><br />
    <?php echo $custom_fields['person_telephone'][0]; ?><br /><br />

    So i’m guessing that the actual thing that tells what image file, name, email of the person to put on the server is in a database…now the question, how do I access the database?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Remove blank page from database?’ is closed to new replies.