<?php include "../pages/connect.php"; $query = "SELECT * FROM gallery"; $result = mysql_query($query) or die('Error, query failed'); $row = mysql_fetch_assoc($result); //$filePath = $row['image_name']; //$filePath1 = $row['image_path']; $filePath2 = $row['path_name']; // $path = $filePath1 . $filePath; //$path = $filePath1."1492234583".$filePath; //echo $filePath1 . $filePath; while ($row=mysql_fetch_array($result)) { $filePath2 = $row['path_name']; echo $filePath2; //echo '<img src=" ../doctorlogin/' . $filePath2 . '" height="150" widht="150"/>'; echo "<br>"; } // echo $filePath2; //echo $path; //echo '<img src=" ../doctorlogin/' . $filePath2 . '" height="200" widht="200"/>'; ?>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)