In
<img width="600" src="<?php '.$baseUrl.' ?>/test/test_pssg/images<?php echo $recPsgQuesTest1->pssg; ?>" />
change
<?php '.$baseUrl.' ?>
To
<?php echo $baseUrl; ?>
Вопрос
I've some images in the server. But the images are not shown. I've used the following code.
$baseUrl = "http://gkill7777.net";
<img width="600" src="<?php '.$baseUrl.' ?>/test/test_pssg/images<?php echo $recPsgQuesTest1->pssg; ?>" />`
Is it a server problem or my coding problem? The code is running swiftly on my local server…
Решение
In
<img width="600" src="<?php '.$baseUrl.' ?>/test/test_pssg/images<?php echo $recPsgQuesTest1->pssg; ?>" />
change
<?php '.$baseUrl.' ?>
To
<?php echo $baseUrl; ?>