Skip to content

Instantly share code, notes, and snippets.

@Romanzo
Last active December 30, 2019 15:39
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Romanzo/2cd7b5cc382f5f419670 to your computer and use it in GitHub Desktop.
Save Romanzo/2cd7b5cc382f5f419670 to your computer and use it in GitHub Desktop.
Test gist da leggere come un opuscolo
* // Common name.
prova test numero 1
leggere la prova numero 2
scrivere il test numeto 3
<?php
require_once ‘include/config.php’;
require_once ‘library/info.php’;
$bands = array(‘Dark Tranquillity’, ‘Stratovarius’, ‘Blind Guardian’, ‘In Flames’, ‘Metallica’);
?>
<html>
<head>
<title>prova da leggere tutta</title>
</head>
<body>
<h3>I miei libri preferiti</h3>
<ul>
<?php
$info = new InfoManager;
foreach($bands as $band_name)
{
$band_info = $info->findInfos($band);
echo “<li>”.$band_name;
if(!is_null($band_info))
{
echo ‘ (<a href=”‘.$band_info->site.’”>’.$band_info->site.’</a>)’;
}
echo “</li>”;
}
?>
</ul>
</body>
</html>
__END__
@kamalalnabrissi2017
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment