Frage

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…

War es hilfreich?

Lösung

In

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

change

<?php '.$baseUrl.' ?>

To

<?php echo $baseUrl; ?>
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top