Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $db = new pdo("mysql:host=localhost;dbname=arabic-manga","root","");
- $sql = 'SELECT * FROM lastchapitre ';
- $html = '<ul>' ;
- foreach($db->query($sql) as $row){
- $html .= '<li>'.$row['id'].'</li>'
- }
- $html .= '</ul>';
- echo $html;
Advertisement
Add Comment
Please, Sign In to add comment