Bonjour,
J'ai une variable php:
1) $nom_photo;
Qui contient le nom d'un fichier jpg (exemple: photo05.jpg)
j'ai un tableau qui contient une centaine de nom de fichier jpg: (photo01.jpg,....)
2) $tableaux_images[];
J'aimerai connaître l'indice tableau de la variable $nom_photo en sachant que le nom de ce fichier photo ($nom_photo) se trouve dans le tableau ($tableaux_images[])
Est-il possible ?