DataTables warning $row[] .= $info_button;

DataTables warning $row[] .= $info_button;

naftalin3naftalin3 Posts: 5Questions: 0Answers: 0
edited December 2010 in General
SERVERS_PROCESSING.PHP -->

I have modify server_processing at end to show at the first column of the table called "id" a link and at the end
of the table column called "image" an img tag. The problem is that datatables stop the script with this error:
DataTables warning (table id = 'example'): Added data (size 7) does not match known number of columns (6)
Can you help me?

if ( $aColumns[$i] == "id" )
{ $info_button1 = 'title'; $row[] .= $info_button; }

if ( $aColumns[$i] == "image" )
{ $info_button2 = '; $row[] .= $info_button; }
This discussion has been closed.