Answer the question
In order to leave comments, you need to log in
How to change a string correctly?
Hello.
I have a simple one, but I'm already confused.
Previously, in my view I had such an image output
<img src="<?= $this->url('application', ['action'=>'file'],
['query'=>['name'=>$foto], 'thumbnail'=>true]); ?>" alt="" class="d-block w-100" data-toggle="modal" data-target="#exampleModal">
$result .= '<img src="'.('application', ['action'=>'file'],
['query'=>['name'=>$escapeHtml($foto)], 'thumbnail'=>true]).'" alt="" class="d-block w-100" data-toggle="modal" data-target="#exampleModal">';
Answer the question
In order to leave comments, you need to log in
it's not very clear what you want, you would at least write the libraries and frameworks that you use
You need to pass either a ready-made url to the widget (view helper)
Example:
https://olegkrivtsov.github.io/using-zend-framewor...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question