GameGrin Gaming Forums
Home LANs Forums Reviews Previews

Go Back   GameGrin Gaming Forums > General Community Forums > General Chat

General Chat General Chat Area

Reply
 
Thread Tools Search this Thread Display Modes
Old 12-03-2002, 12:49 PM   #1
Mayo

Manhack
 
Mayo's Avatar
 
Join Date: Mar 2000
Location: Nearest rum barrel
Posts: 1,581
Mayo will become famous soon enoughMayo will become famous soon enoughMayo will become famous soon enoughMayo will become famous soon enoughMayo will become famous soon enoughMayo will become famous soon enoughMayo will become famous soon enoughMayo will become famous soon enoughMayo will become famous soon enoughMayo will become famous soon enoughMayo will become famous soon enough
Quick PHP Question

Just wondering.
In PHP I know you can show data as a bar graph but I need to show the data as a Line Graph.
Is this possible.
I am waiting for an answer off my coder but he is slow in getting back to me. Well he is in France.
Oh and its work related btw lol. We are automating our European Traffic Report and having it web based. lol.
Just hoping we can have line graphs
__________________
90 Fury Uber Healer of Splitpaw
90 Conjurer of Splitpaw (Suck it up Wizards you cant catch my DPS now )

Soapy Girls!!!!!!
Mayo is offline   Reply With Quote
Old 12-03-2002, 01:09 PM   #2
ShoX

Human Grunt
 
ShoX's Avatar
 
Join Date: Jul 2000
Posts: 2,560
ShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura about
Yes its possible.
Yes its difficult.

And Yes, you need to have the GD Graphics library installed to do it.

Co-ordinates suck :/

Rob
__________________
binaryrage.com
ShoX is offline   Reply With Quote
Old 12-03-2002, 01:16 PM   #3
Mayo

Manhack
 
Mayo's Avatar
 
Join Date: Mar 2000
Location: Nearest rum barrel
Posts: 1,581
Mayo will become famous soon enoughMayo will become famous soon enoughMayo will become famous soon enoughMayo will become famous soon enoughMayo will become famous soon enoughMayo will become famous soon enoughMayo will become famous soon enoughMayo will become famous soon enoughMayo will become famous soon enoughMayo will become famous soon enoughMayo will become famous soon enough
Sok thats what this guy in France gets payed mega bucks to do lol.

Put it this way he is a contractor.
Living in the posh part of Paris
He can blody well get it sorted lol
__________________
90 Fury Uber Healer of Splitpaw
90 Conjurer of Splitpaw (Suck it up Wizards you cant catch my DPS now )

Soapy Girls!!!!!!
Mayo is offline   Reply With Quote
Old 12-03-2002, 06:44 PM   #4
Boff

Bullsquid
 
Boff's Avatar
 
Join Date: Dec 1999
Location: SKELLEFTEĊ, living in Sin with sambo and kid since dec'08 (and loving it)
Posts: 4,648
Boff is a name known to allBoff is a name known to allBoff is a name known to allBoff is a name known to allBoff is a name known to allBoff is a name known to allBoff is a name known to allBoff is a name known to allBoff is a name known to allBoff is a name known to allBoff is a name known to all
first guess. and this is a crap solution but this IS my basic mentality.

get a solid picture gif.

say a solid blue. ten pixels by ten pixels.

<img src="bar.gif" height="10" width="100%">
now bizarely enough if you have a table this gif will stretch the whole width of it.

Now aside from Netscape3 for the pc and 4 and 4.7 for the mac,
this will work.
(dunno about IE3 for the PC)

so just asign that width a variable in your PHP instead of a full 100% and bobs your uncle you ahve a bar chart thingy.
__________________
Boff is offline   Reply With Quote
Old 12-03-2002, 06:47 PM   #5
Bobster

Tentacle
 
Bobster's Avatar
 
Join Date: Dec 1999
Location: Dorset
Posts: 14,547
Bobster has a reputation beyond reputeBobster has a reputation beyond reputeBobster has a reputation beyond reputeBobster has a reputation beyond reputeBobster has a reputation beyond reputeBobster has a reputation beyond reputeBobster has a reputation beyond reputeBobster has a reputation beyond reputeBobster has a reputation beyond reputeBobster has a reputation beyond reputeBobster has a reputation beyond repute
Wink

theres no way i'm related to Shox thanx
__________________
Photography
The opinions expressed in this post are purely that of my own and nothing to do with "GameOn Networking Ltd" unless otherwise stated.
Bobster is offline   Reply With Quote
Old 12-03-2002, 07:11 PM   #6
MaZ

Human Grunt
 
MaZ's Avatar
 
Join Date: Sep 2000
Location: IOW
Posts: 2,774
MaZ has a spectacular aura aboutMaZ has a spectacular aura aboutMaZ has a spectacular aura aboutMaZ has a spectacular aura aboutMaZ has a spectacular aura aboutMaZ has a spectacular aura aboutMaZ has a spectacular aura aboutMaZ has a spectacular aura aboutMaZ has a spectacular aura aboutMaZ has a spectacular aura aboutMaZ has a spectacular aura about
As Rob said. You CAN do it, its very hard, but there ARE functions in PHP to do it. Unfortunately, as Rob said as well, you gotta have the GD Graphics Library compiled in PHP and unless u do that yourself, not a huge amount of places have it.
I tried to use it on a recent project, the commands in php i mean.. Rlly screws you up when u realise u need something extra that u cant install.
/me cries...

WHY O WHY CANT THEY INCLUDE THE GD LIBRARY IN PHP?!?!
MaZ is offline   Reply With Quote
Old 13-03-2002, 09:08 AM   #7
ShoX

Human Grunt
 
ShoX's Avatar
 
Join Date: Jul 2000
Posts: 2,560
ShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura about
Cos it sucks CPU like no tommorow mostly :/

Rob
__________________
binaryrage.com
ShoX is offline   Reply With Quote
Old 13-03-2002, 09:11 AM   #8
ShoX

Human Grunt
 
ShoX's Avatar
 
Join Date: Jul 2000
Posts: 2,560
ShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura about
That and its not really PHP, its an outside project, and due to the fact that PHP is uber optimised, they wont include it till they have the time/inclination to refine it.

And PHP5 is being developed as a OO Style language on par with Java, so they have quite a bit to do i would imagine.

Rob
__________________
binaryrage.com
ShoX is offline   Reply With Quote
Old 13-03-2002, 07:01 PM   #9
MaZ

Human Grunt
 
MaZ's Avatar
 
Join Date: Sep 2000
Location: IOW
Posts: 2,774
MaZ has a spectacular aura aboutMaZ has a spectacular aura aboutMaZ has a spectacular aura aboutMaZ has a spectacular aura aboutMaZ has a spectacular aura aboutMaZ has a spectacular aura aboutMaZ has a spectacular aura aboutMaZ has a spectacular aura aboutMaZ has a spectacular aura aboutMaZ has a spectacular aura aboutMaZ has a spectacular aura about
thats true you sexeh beast you
MaZ is offline   Reply With Quote
Old 14-03-2002, 01:07 PM   #10
Boff

Bullsquid
 
Boff's Avatar
 
Join Date: Dec 1999
Location: SKELLEFTEĊ, living in Sin with sambo and kid since dec'08 (and loving it)
Posts: 4,648
Boff is a name known to allBoff is a name known to allBoff is a name known to allBoff is a name known to allBoff is a name known to allBoff is a name known to allBoff is a name known to allBoff is a name known to allBoff is a name known to allBoff is a name known to allBoff is a name known to all
Okay new one,

I just got offered a "is it possible to do this job, and how would you go about it",
just ideas that's all I need.

conusultants can sign up, with their name, job description, location of place they are visiting.

and here is the killer.

It displays the "nearest" other consultant.
Simple solution
1) Now just doing a match on
town,
city or country,
and list anyone else in the local region. (ie different fields in a database and doing a simple match)

but gut feeling says they will want maps and allsorts to go along with this (cough link to multimap)

or even if they want a 'distance' between places.

ideas? if this is the case.
__________________
Boff is offline   Reply With Quote
Old 14-03-2002, 01:33 PM   #11
ShoX

Human Grunt
 
ShoX's Avatar
 
Join Date: Jul 2000
Posts: 2,560
ShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura aboutShoX has a spectacular aura about
Use postcodes, and you can get a near enough match by going off the intial chars.

Not sure about calculating the distance, you could pump it into something like the AA roadmap thing, and strip the page down that gives you the result.

But thats naughty, and you didnt hear it from me :]

Rob
__________________
binaryrage.com
ShoX is offline   Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Quick Question Milky General Chat 10 12-07-2002 09:49 AM
Thanks for the mail Rash, quick question though Ninja GameOn LANS - General GO LAN Chat 6 06-06-2001 02:49 PM
Quick Question Mayo General Chat 1 18-04-2000 12:19 AM


All times are GMT +1. The time now is 05:19 PM.


More on gaming

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2016 GameOn Networking Ltd, T/A GameGrin