View difference between Paste ID: t27cPjtc and 7fvfxVp5
SHOW: | | - or go back to the newest paste.
1
$db = new pdo("mysql:host=localhost;dbname=arabic-manga","root","");
2
$sql = 'SELECT * FROM lastchapitre ';
3-
foreach($values as $row){
3+
4
$html = '<ul>' ;
5
foreach($db->query($sql) as $row){
6
$html .= '<li>'.$row['id'].'</li>'
7
}
8
$html .= '</ul>';
9
echo $html;