• Hi!

    I’ve got a theme which creates a admin menu page. In the page function, I have line $result1 = $wpdb->get_results("SELECT * FROM ".$table_name) or die(mysql_error()); If the line is there, the page is blank. If i comment it, everything works fine (except the query results).

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter misterx100

    (@misterx100)

    It seems that the query is failing…

    Thread Starter misterx100

    (@misterx100)

    I got the folowing error:
    WordPress database error: []
    SELECT id, title, url, postpage, link FROM wp_kd_slideshow

    PS: I changed * to all the fields I want, just for testing.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Admin page empty’ is closed to new replies.