Jump to content

dodgeitorelse3

Members
  • Content Count

    133
  • Joined

  • Last visited

  • Days Won

    2

dodgeitorelse3 last won the day on January 29 2018

dodgeitorelse3 had the most liked content!

Community Reputation

5 Neutral

About dodgeitorelse3

  • Rank
    Advanced Member

Profile Information

  • Gender
    Not Telling
  • Location
    Massena, NY

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Have you tried to echo query to verify what it is using for login credentials?
  2. I think you are going to want to run your if/else statement on your results instead of in your query.
  3. Also with chart.js all arrays used for chart must have exact same number of items in each array.
  4. is the filename from files table stored with file extension?
  5. Show what you have tried so far please
  6. OP is most likely after rows 11 through 20 (after last 10)
  7. @OP, you have a comma before name in your query
  8. var labelsdb = <?php echo json_encode($labelsdb); ?>; //array from database for dates and times var datadb = <?php echo json_encode($datadb); ?>; // array from database for number of players var datadon = <?php echo json_encode($datadon); ?>; // array from database for number of players var datadoff = <?php echo json_encode($datadoff); ?>; // array from database for number of players var ctx = document.getElementById("myChart"); // points to canvas ctx.style.backgroundColor = "#2F3136"; //canvas background color var myChart = new Chart(ctx, { type: 'lin
  9. I have this code. The players works and scales to the left side 0-23 but online scales to left side 0-23 instead of right side 0-1. What am I doing wrong? //arrays used in javascript //$labelsdb = array('2018-12-20 00:11', '2018-12-20 00:37', '2018-12-20 00:43', '2018-12-20 03:15', '2018-12-20 03:42', '2018-12-20 03:56', '2018-12-20 04:17', '2018-12-20 04:33', '2018-12-20 07:23', '2018-12-20 10:00', '2018-12-20 12:23', '2018-12-20 14:00', '2018-12-20 18:42', '2018-12-20 19:17', '2018-12-20 23:53'); //$datadb = array(2,12,2,7,23,5,8,2,0,4,0,8,1,0,3); //$datadon = array(1,0,1,1,1,1,1,0,1,
  10. Assuming you ran a query to get $result your first option has no value set. The second option should have the echo inside quotes just like your submit does.
  11. Did you bother to test the 2 suggestions?
×
×
  • 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.