Hi! I'm anewbie in using MySQL and PHP. I manage to search MYSQL database for some terms and it's returning the results in a table in html. However, as the search results can be very long, I was wondering if it was possible to split the results into 2 column table.
This is what I get now:
ID CD
1 A
2 B
3 C
4 D
and so on...
But I would like it to be:
ID CD ID CD
1 A 2 B
3 C 4 D
and so on...
I tried to find many articles on using both PHP codes and mysql codes to achieve what I need but to no avail. Could anyone help me, please?
Julian
This is what I get now:
ID CD
1 A
2 B
3 C
4 D
and so on...
But I would like it to be:
ID CD ID CD
1 A 2 B
3 C 4 D
and so on...
I tried to find many articles on using both PHP codes and mysql codes to achieve what I need but to no avail. Could anyone help me, please?
Julian