imgiseverything (@imgiseverything)

Forum Replies Created

Viewing 1 replies (of 1 total)
  • @imgiseverything

    Member

    Another way to remove the (frankly awful) table tags is to make use of PHP’s output buffering.

    function cleanForm($buffer){

    // do a str_replace on $buffer to remove the table tag and replace with <div>s, or whatever you fancy and return it

    $buffer = str_replace('replace me', 'with me', $buffer);

    return $buffer;

    }

    ob_start(“cleanForm”);

    bb_profile_data_form();

    ob_end_flush();

Viewing 1 replies (of 1 total)