amos11 Posted March 14, 2014 Share Posted March 14, 2014 (edited) 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 March 14, 2014 by amos11 Quote Link to comment https://forums.phpfreaks.com/topic/286966-selecting-rows/ Share on other sites More sharing options...
Barand Posted March 14, 2014 Share Posted March 14, 2014 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. Quote Link to comment https://forums.phpfreaks.com/topic/286966-selecting-rows/#findComment-1472606 Share on other sites More sharing options...
amos11 Posted March 15, 2014 Author Share Posted March 15, 2014 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! Quote Link to comment https://forums.phpfreaks.com/topic/286966-selecting-rows/#findComment-1472686 Share on other sites More sharing options...
amos11 Posted March 15, 2014 Author Share Posted March 15, 2014 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! Quote Link to comment https://forums.phpfreaks.com/topic/286966-selecting-rows/#findComment-1472692 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.