Jump to content


generate bar graph for search result

  • Please log in to reply
2 replies to this topic

#1 meadowlilac



  • New Members
  • Pip
  • 3 posts

Posted 14 April 2014 - 07:59 PM



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

#2 dalecosp


    Advanced Member

  • Members
  • PipPipPip
  • 307 posts
  • LocationJoplin, MO

Posted 18 April 2014 - 04:37 PM


"God doesn't play dice" --- Albert Einstein
"Perl is hardly a paragon of beautiful syntax." --- Weedpacket

#3 meadowlilac



  • New Members
  • Pip
  • 3 posts

Posted 24 April 2014 - 03:56 PM

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

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime