Question

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…

Was it helpful?

Solution

In

<img width="600" src="<?php '.$baseUrl.' ?>/test/test_pssg/images<?php echo $recPsgQuesTest1->pssg; ?>" />

change

<?php '.$baseUrl.' ?>

To

<?php echo $baseUrl; ?>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top