#page { font: normal 11px Verdana, Arial, Helvetica, sans-serif; text-align: center; width: 800px; height: " . $numlines * 50 ."px; border: 0; } "; ?>
| ".$query." | "; $results = mysql_query($query); } $arr = array(); $query = "SELECT * FROM `notes_data`"; $results = mysql_query($query); $num = ($numlines * 10) + 1; for($i=0;$i<$num;$i++) { $arr['' . $i] = "Empty | "; } while($row = mysql_fetch_array($results)) { $arr[$row['id']] = "" . $row['note'] . " | "; } for($i=1;$i<$num;$i+=10) { echo "