Re: hm

From Straton, 8 Years ago, written in PHP, viewed 831 times. This paste is a reply to Re: hm from Sloppy Goose - go back
URL https://paste.godclan.hu/view/W5-eV81S/diff Embed
Viewing differences between Re: hm and Re: hm
<?php
        $e = "SELECT `folder`,`comment` FROM `blackgnesposts`";
        $sql = mysqli_query($conn,$e);
                                                                        
        $rows = array();
                                                                        
        while($row = mysqli_fetch_array($sql,MYSQLI_NUM))
        {
                $rows[] = $row;
        }
        $a = mysqli_num_rows($sql);
        $b = $a/2;
        //print_r($rows);
        $e = 1;
        for($i = 0; $i < $b; $i++){
$a; $i += 2){
                echo $i . "<br/>";
                echo '<div>
                <a href="images/fulls/'.$rows[$i][0].'">
                <img src="images/fulls/'.$rows[$i][0].'" alt="'.$i.'" />
                        <h3>'.$rows[$i][1].'</h3>
                </a>
                                                                                                
                <a href="images/fulls/'.$rows[$i+1][0].'">
                        <img src="images/fulls/'.$rows[$i+1][0].'" alt="" alt="'.$i+1.'" />
                        <h3>'.$rows[$i+1][1].'</h3>
                </a>
                </div>';
        }                                                                        
                                                                        
?>

Reply to "Re: hm"

Here you can reply to the paste above