Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8148721
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T14:42:05+00:00 2026-06-06T14:42:05+00:00

My code generates graph from SQL and I am using phpgraphlib for generating the

  • 0

My code generates graph from SQL and I am using phpgraphlib for generating the graph. Is there a way to save this graph as a image to a specific location on a server?

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T14:42:06+00:00Added an answer on June 6, 2026 at 2:42 pm

    I’ve never used it, but looking at the documentation:

    Constructor

    PHPGraphLib ( int $width, int $height, [string $filename] )

    …

    If you
    specify the optional filename argument, PHPGraphLib will not display
    to the screen, but instead create a .png file in the same directory as
    the script where PHPGraphLib is being called.

    So, create your graph with the relevant $filename in the constructor and it should save there when you call ->createGraph().

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My code generates a txt file using PHP's fputcsv function. For the delimiter, I
This code generates Low memory warning because background 5 thread is almostly loading images
so my code generates like this (when click a it adds active class to
Currently this code generates a colored hyperlink to an ad listing on my site.
The following line of code generates the compile time error (PE19) There is no
The following code generates a FileNotFoundException (using .NET 2.0): using System; using System.Collections.Generic; using
I'm trying to do a cascading save on a large object graph using JPA.
I have code that generates a data-driven SVG graph and I'd like to display
I m trying to access a rdf file from the google nexus.....(now this code
Are there any good tools APIs out there for generating a system dependence graph

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.