Forums

Contact Form DB
[resolved] [Plugin: Contact Form 7 to Database Extension] Can't get uploaded image in PHP (3 posts)

  1. Kurt
    Member
    Posted 10 months ago #

    This is the PHP expression I'm using to access the data:

    $exp->export('Volunteer Projects', array('show' => 'post_title,street-add-1,street-add-2,city,state,zip-code,phone,website-url,long-description,meta_titlekey,logo', 'filter' => "meta_titlekey=$datakey", 'filelinks' => 'img'));

    $row['logo'] displays the file name like image-file.png rather than a URL or <img> tag. How do I get a url or <img> tag returned?

    Thanks again for your help!

    Kurt

    http://wordpress.org/extend/plugins/contact-form-7-to-database-extension/

  2. Michael Simpson
    Member
    Plugin Author

    Posted 10 months ago #

    Try $row['logo_URL']. See http://cfdbplugin.com/?page_id=444 "Links to uploaded files"

  3. Kurt
    Member
    Posted 10 months ago #

    I missed that documentation because of the page title. Sorry about that.

    Thanks for your quick response, again.

    I just made a donation to the CFDB plugin.

    Great plugin and excellent support!

    Kurt

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.