Jump to content

selecting rows


amos11

Recommended Posts

Hi

 

can i find out if it is possible to retrieve rows from my tables in the database but display them as hyperlinks which can lead to a page (can it be just 1 page that allows values to be inserted into?) that allows charts (using highcharts) or so to be created based on the values passed from the database? Sorry if this is a stupid question. I'm new to this and I'm exploring ways to present my data. Thanks!

Edited by amos11
Link to comment
Share on other sites

Both are certainly possible.

 

How you do it would depend on your data, how you want to link the pages, the charting software you are planning to use.

 

Your question is far to broad at the moment for a more detailed response but so long as you properly normalize the data in your db then you should be OK for most things.

Link to comment
Share on other sites

Thanks. I'm trying to research for tutorials and stuff on them but I'm not sure what to really look out for. I would think that my data are normalised. Can i trouble you to enlighten me on search terms that i can use to research on the bit about displaying the retrieved data as hyperlinks that point to a page for data visualisation?

 

 

Thanks!

Link to comment
Share on other sites

figured out that i can:

 

while($row = mysql_fetch_array($result))

  {
  echo '<tr>';
  echo '<td><a href="sales.php">' . $row['S_Id'] . '</a></td>';
  echo '<td>' . $row['S_Type'] . '</td>';
  echo '<td>' . $row['S_Title'] . '</td>';
  echo '<td>' . $row['S_Date'] . '</td>';
  echo '</tr>';
  }
echo "</table>";
 
But how do i send the data to the php page so that it can use the data and create the charts accordingly? I'm looking at using highcharts. Thanks!
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.