Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author hoffcamp

    (@hoffcamp)

    If the value is ‘$file’, then the file URL would be

    $file['upload_url'].$file['filename']

    Thread Starter bzelanto

    (@bzelanto)

    Thanks…
    I will try it.
    In meanwhile I have susceed to make it work by finding key words “file name” and “url” and counting letters what does the thing but I hope that this will work and make it easier in the future…
    I not I will try to contact you again…
    Best regards and thanks again…

    Thread Starter bzelanto

    (@bzelanto)

    Sorry but I need some more help.

    Here is what I get :
    a:5:{s:8:”filename”;s:28:”rome (04-14-12-09-41-42).jpg”;s:8:”contents”;s:0:””;s:10:”upload_dir”;b:1;s:10:”upload_url”;s:55:”https://laudi-lingua.hr/beta/wp-content/uploads/2012/04/”;s:4:”size”;i:33416;}

    with this code after connecting to SQL:
    $data = mysql_query (“SELECT file-4f32d5ed8954d FROM wp_fm_data_2 WHERE unique_id = ‘fm-4f89eef749d55’ LIMIT 30″) or die(mysql_error());
    $info = mysql_fetch_array( $data ) ;
    echo $info[‘file-4f32d5ed8954d’].”</br></br>” ;
    /* THIS PART ECHOES TEXT ABOVE */

    How to change printed text into array or …

    I have tried something like:
    $file = array( $info[‘file-4f32d5ed8954d’] ) ;
    echo $file[‘upload_url’].$file[‘filename’].”</br></br>” ;/* BUT IT DOESN’T WORK. */
    THANKS IN ADVANCE…

    Thread Starter bzelanto

    (@bzelanto)

    One more thing:
    array in first post was printed with downloaded tool “db view”.
    my problem is that i can’t create an array for text stored in sql.

    [Post de-capped]

    Thread Starter bzelanto

    (@bzelanto)

    My problem is that i can’t create an array from text stored in sql.

    [Please stop posting in uppercase. It’s the electronic equivalent of shouting and is considered quite rude. Post de-capped.[/em>

    Plugin Author hoffcamp

    (@hoffcamp)

    The PHP function deserialize will do what you need.

    Thread Starter bzelanto

    (@bzelanto)

    yes that’s what I needed…
    thanks again…

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: WordPress Form Manager] link to a file stored by form manager i sql table’ is closed to new replies.