Wiki

Clone wiki

sudoku generator / function-display

Description

display( array $sudoku [, boolen $RETURN = FALSE])

display() is a basic displaying function for the sudoku, it displays it in a table

display() returns string with table in it if $RETURN = TRUE, otherwise it just prints it on screen

Parameters

sudoku

RETURN

  • If set to TRUE the function will return the array, if set to FALSE there is no return

Return Values

Returns string or nothing depending on setting.

Updated