Update README.md
This commit is contained in:
13
README.md
13
README.md
@@ -4,14 +4,11 @@ PHP class for conversion of Chess PGN files to PHP array or JSON.
|
|||||||
|
|
||||||
This is the chess parser used in DHTML Chess at dhtml-chess.com
|
This is the chess parser used in DHTML Chess at dhtml-chess.com
|
||||||
|
|
||||||
License: GPL
|
####License: GPL
|
||||||
|
|
||||||
Example of use:
|
Example of use:
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
$parser = new PgnParser('my-games.pgn');
|
||||||
$parser = new PgnParser('my-games.pgn');
|
echo json_encode($parser->getGames());
|
||||||
|
?>
|
||||||
echo json_encode($parser->getGames());
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
Reference in New Issue
Block a user