PHP code example of mattsmithdev / pdo-repo-project

1. Go to this page and download the library: Download mattsmithdev/pdo-repo-project library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

mattsmithdev / pdo-repo-project example snippets


    $movieRepository->createAndInsert('Jaws', 9.99, 'horror');
    $movieRepository->createAndInsert('Jumanji', 7, 'entertainment');