Jump to content

phastphp

New Members
  • Posts

    1
  • Joined

  • Last visited

phastphp's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I have just started updating my wordpress website using PDO. For some unknown reason, grabbing text from mysql and using 'echo' to display the data does not work. Here is my code: global $wpdb; $symbol = get_query_var('name'); $result = $wpdb->get_row("SELECT about FROM wp_data WHERE symbol = '{$symbol}'"); echo $result->about; I used a foreach loop and echoed all data and everything shows up except for the "TEXT" field (I only have one TEXT column). Please help! Thanks in advance.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.