In simple search form,if we search 1232 we get word stored as in given table we get cat from db using simple query select 'word' from 'dawat' where counting ='%$term%'
samely 2454 for dog and so on.
Form code:
<form action="upload.php" method="get" >
<input type="file" name="fileToUpload" id="fileToUpload">
<input type="submit" value="submit" name="submit">
</form>
and tables in db:
counting word
1232 cat
2454 dog
4844 fish
7785 goat
Now,it is working correctly,problem is if multiple queries have same value how can we store in mysql.Suppose, all different no. have same value i.e. cat,so we can store normally like:
counting word
1232 cat
2454 cat
4844 cat
7785 cat
This is how we can make different coloumns for single.Now,main question is how can i assign all different to fetch cat storing in single coloumn like:
counting word
1232,2454,4844,7785 cat
5785,4577,9644,6549 dog