Advertisement
jargon

Roe Collector Card Game (mk45CARDS)

Sep 29th, 2021
1,415
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.37 KB | None | 0 0
  1.         // perform current page data regex
  2.         while(
  3.             preg_match(
  4.             $card_pattern,
  5.             $page,
  6.             $card_matches
  7.             )
  8.         )  
  9.         {
  10.             $result .= '<tr><td><h3>'. $card_matches[ 1 ]. '<h3><p>'. $card_matches[ 0 ]. '</p></td></tr>';
  11.  
  12.             // save creation card collection to file
  13.             file_put_contents( $nen[ 'root' ]. 'card data/'. $card_matches[ 1 ], $card_matches[ 0 ] );
  14.         }
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement