$variable = '<img src="http://www.gravatar.com/avatar/66ce1f26a725b2e063d128457c20eda1?s=32&d=identicon&r=PG" height="32" width="32" alt=""/>';
Comment faire pour obtenir src de cette image?PHP obtenir l'image src
Comme:
$src = 'http://www.gravatar.com/avatar/66ce1f26a725b2e063d128457c20eda1?s=32&d=identicon&r=PG';
Merci.
y at-il d'autre dans 'variable' de $, par exemple un autre HTML ou tout simplement la chaîne – Gordon
Pouvez-vous régler votre problème – pltvs