I have a problem for drawing a multicolumn table in latex.
Can anyone help with it?
The colour of the text and symbol doesn't matter. I want to know is how to draw this table. If the text colour also includes, I would be glad that.
This is what I am trying currently.
\begin{document}
\begin{table}
\begin{tabular}{|l|l|l|l|l|l|l|l|l|l|l|l|}
\hline
\multirow{3}{*}{} &
\multicolumn{3}{c}{XSS} &
\multicolumn{1}{c}{CSRF} &
\multicolumn{4}{c}{SQLi} &
\multicolumn{2}{*}{POST} & GET \\
\multicolumn{3}{c}{BufferOverflow}\\
& StorePayloads & Sanitize(Invalid) & Successful & Anti-CSRF token & NOT & StorePAyloads & NOT & ReturnData & StorePayloads & InvalidToStore & Successful\\
\hline
Camera2 & & & & & & & & & & & & \\
\hline
Camera1 & & & & & & & & & & & & \\
\hline
Cam & & & & & & & & & & & & \\
\hline
IoT & & & & & & & & & & & & \\
\hline
\end{tabular}
\end{table}
\end{document}
*
in\multicolumn{2}{*}{POST}
is wrong. You probably wanted something like\multicolumn{2}{c}{POST}
&
too much in every line of the table.