This commit is contained in:
2024-05-29 11:08:54 +02:00
parent 2d1b8c0a45
commit 9747e7687b
4 changed files with 8 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
| a PHP script and you can easily do that on your own.
|
*/
$config['base_url']='/~felix-vi/SAE_PHP_2024/CodeIgniter-3.1.13/';
$config['base_url']='/~felix-vi/SAE_PHP_2024_test/CodeIgniter-3.1.13/';
/*
|--------------------------------------------------------------------------

View File

@@ -13,7 +13,7 @@ class Artistes extends CI_Controller {
if ($recherche=filter_input(INPUT_GET,'recherche') == false or $recherche=filter_input(INPUT_GET,'recherche') == null){
$artistes = $this->model_music->getArtistes();
}else{
$recherche=filter_input(INPUT_GET,'recherche');= $this->model_music->getSearchArtistes($recherche);
$recherche=filter_input(INPUT_GET,'recherche');
$artistes = $this->model_music->getSearchArtistes($recherche);
}
$this->load->view('layout/header');

View File

@@ -25,5 +25,6 @@
<li><?=anchor('artistes','Artistes');?></li>
<li><?=anchor('chansons','Chansons');?></li>
<li><?=anchor('playlist','Playlist');?></li>
<li name='connexion'><?=anchor('connexion','Connexion');?></li>
</ul>
</nav>

View File

@@ -18,3 +18,8 @@ section.list img {
text-overflow: ellipsis;
}
.recherche {
width : 75px;
height : 24px;
}