I'm fetching data from the database on a custom field that we have setup and this is the older PHP 5x code to pull that value from the table. I'm just not pulling the data. No error pops up either. I just get a blank value where the contents of tab_one should be. Any takers?

php print(transl_value($sql_array->tab_one,"TBO"));
  • Can you show us the code that's reading $sql_array? Is this an extra column you've added to a normal WordPress table, or a new table, or something else? Are you reading it from $wpdb, or directly using php_mysqli, or something else? – Rup Apr 3 at 23:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.