Jump to content


This topic is now archived and is closed to further replies.


generate bar graph for search result

Recommended Posts



i create the search page and i want to display the result as bar graph


if i have two tables and the relation between them many to many and after the user enter his/her word the result display as


table_1_id              table_2_ word  


 1                               x

 1                               y

 1                               e

 3                               x

 3                               e

 3                               m

 5                               x


i want to calculate haw many time the id of table_1 apper and show the result as bar graph

then the user can select one of the result

Share this post

Link to post
Share on other sites

hello sir


thank you for your answer but realy i do not understand any thing becuse i am new in php an Mysql


could you please explain what i have to do ?


thank you again

Share this post

Link to post
Share on other sites

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.