سؤال

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; ?>
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top