• Resolved jeezyo

    (@jeezyo)


    I’ve got the meta boxes working, and am attempting to use the values in conjunction with another plugin, Airpress, to set the table and view queries as seen below.

    $mytable = rwmb_meta( $attable );
    $myview = rwmb_meta( $atview );	
    			
    $query->table($mytable);
    $query->view($myview);

    I’ve tried about 400 variations of this code, and simply cant get it working. When the value is “Name of Table” instead of the variable, it works well, so im positive im doing something wrong displaying the variables. Any help would be greatly appreciated.

Viewing 1 replies (of 1 total)
  • Thread Starter jeezyo

    (@jeezyo)

    Got it worked out — didnt realize i needed to include the prefix. In case anybody is having the same issue, hopefully that will help ??

    $mytable = rwmb_meta( 'aps-attable' );
    $myview = rwmb_meta( 'aps-atview' );
Viewing 1 replies (of 1 total)
  • The topic ‘Trouble getting variables to output data’ is closed to new replies.