• I am a newbie in wp-query-builder (https://github.com/10quality/wp-query-builder). I tried this code in wordpress plugin development. I created tables and the table columns have data. But it does not work. It doesn’t print anything in console.

    in NamespaceController.php file

    <?php
    use TenQuality\WP\Database\QueryBuilder;
    
    $builder = QueryBuilder::create();
    $builder->select( '*' );
    $builder->from( 'table_name' );
    
    echo '<script>console.log("' . $builder->ColumnName . '"); </script>';

    What is wrong in it?

    Is there any video tutorial about wp-query-builder ?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘10quality wp-query-builder example doesn’t work.’ is closed to new replies.