A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

New answers tagged


Your code uses this: number_format((float)$results[$i]['avg_rate'], 2, '.', '') And if we look at where $i is set, we see this just before the loop: $i=0; and this: $i++; But I don't see how this maps in any way to the current post when there's a conditional, meaning that not everything in the results array is included in the post query. ...

Top 50 recent answers are included