Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: bb_profile_data_form automatically generating table?


imgiseverything
Member

@imgiseverything

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();

Skip to toolbar