WordPress.org

Forums

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

  1. puspo
    Member
    Posted 1 year 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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Allow PHP in Posts and Pages
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags