• Good day, I’ve tried to use the plugin, it is working great!
    but im having some troubles with the display of it.
    I’m using 2 scripts.

    1-
    $minutes = date(‘i’);
    if($minutes<=15) {
    $total = “2”;
    }elseif($minutes<=30){
    $total = “2”;
    }
    $file_type = “.jpg”;
    $image_folder = “https://www.rakelinvest.com/wp-content/uploads/2014/12&#8221;;
    $start = “1”;

    $random = mt_rand($start, $total);

    $image_name = $random . $file_type;

    echo “<img src=\”$image_folder/$image_name\” alt=\”$image_name\ />”;

    2-

    $total = “2”;
    $file_type = “.jpg”;
    $image_folder = “https://www.rakelinvest.com/wp-content/uploads/2014/12&#8221;;
    $start = “1”;

    $random = mt_rand($start, $total);

    $image_name = $random . $file_type;

    echo “<img src=\”$image_folder/$image_name\” alt=\”$image_name\ />”;

    And the problem I’m experiencing is that the images that the script should randomly display, are being kinda mixing with each other, Can you please check what the problem is with? because for example, If i try to make a table with those script, the table is getting mixed up and I can’t work it out.
    Thanks from advanced.

    https://www.ads-software.com/plugins/allow-php-in-posts-and-pages/

  • The topic ‘Having trouble with the display.’ is closed to new replies.