index.php is showing images, and i have already edited viewingimg.php ... but after removing is_int.... is only shows and icon on a white page bro this is my all code for index.php...and i want to show my image with next and previous option icons on the sides of image, when an image is click, can u help me ?
oh.. i see because $content in your viewingimg.php is image name, not image strings. so, you need fetch content of your image. you can choose 1 of this : 1. fetch image content. replace $content = $row['image']; with $content = file_get_contents($row['image']); or use other fetching method. 2. redirecting content. keep $content = $row['image']; replace echo $content; with header('Location: '.$content); exit();
I think the knowledge of the TS about PHP is so low that this would take alot of posts to get completed