WordPress.org

Ready to get started?Download WordPress

Forums

Allow PHP in Posts and Pages
connection to db and end of page (1 post)

  1. puspo
    Member
    Posted 12 months ago #

    Hello everyone, please, can tell me anyone what i do wrong?

    [insert_php]
    $mylink = $wpdb->get_row("SELECT * FROM $wpdb->wp_sportovec WHERE id_sportovec = 1");
    echo $mylink->id_sportovec ;
    [/insert_php]

    That code is cutting my website - like here:
    Thanks a lot for every help

    http://wordpress.org/plugins/allow-php-in-posts-and-pages/

Reply

You must log in to post.

About this Plugin

About this Topic

Tags