hi there,
I have set up a mySQL DB, and i want to create
a sort of a search engine for it. So users can
search for something in the DB, and the result can
be 16 items, but could also be 91, or any other number.
It all depends on the search term.
What i want is to divide the search result over 2 collumns.
Ordered from left to right, top to bottom.
A result should look like this:
Aa Ab
Ah Ba
Bb Cd
Dr De
etc etc
the result should be presented in a HTML-table. My question is how
do split up the results into two collumns?
All i have for the query is:
$result = mysql_query("SELECT * FROM datatable WHERE item=$searchterm
ORDER BY item ASC",$db);
Thanks a lot!