Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Rich20B

  1. Rich20B

    Simple Bar Graph generation

    Something very simple: Create an image that is 1px x 1px. To create a bar graph use: while($width > 100) // 100 is the maximum width (in pixels) of the bar { $width = $width / 2; // Scale the bar by half } printf("<img src='px.gif' width='%s' height='10'>", $width); For multiple bars...
  2. Rich20B

    Counting Rows And Grouping By Day

    Hi guys, This problem has been puzzling me for a couple of days now, hopefully you can help. I have a table called 'msgs' which stores the text of log entries, together with a timestamp of when the message was generated: CREATE TABLE `msgs` ( `time_num` int(10) unsigned NOT NULL default...

Part and Inventory Search

Back
Top