swmonkey / pr

0 stars 0 forks source link

no parkrun course for 18/1 in aparkrunres #2

Open swmonkey opened 4 years ago

swmonkey commented 4 years ago

added sql

` // calc course id //added 18/1 $sqlexisting_calc_course = "select * from aparkruncourse where prid = $dhcdbparkrunid";

   echo "<p class='bg-info'>check existing $sqlexisting_calc_course";
    $resulte2c = mysqli_query($mysqli_14,$sqlexisting_calc_course);
    $course=$pid;
    while($row = mysqli_fetch_array($resulte2c)) {
     //$myparkrunlocdatecount++;
    $cid =  $row['id'];
    // echo "$runid";
    }`