<?php include("include/login.php");
$query = mysql_query("SELECT * FROM books ");
while ($row = mysql_fetch_array($query))
{
$image_url[] = $row['image'] ;
$cost[] = $row['book_cost'];
$author[] = $row['author_name'];
$name[] = $row['book_name'];
$publisher[] = $row['publisher'];
$desc[] = $row['book_description'];
$bookid[] = $row['id'];
}
?>
here i use array to store my data in $image_url and want to show it on web page which show first six images and on next button click it'll show next six images please help if know.....
show images which url stored in an array of php variable
Moderator: General Moderators
-
crazybaboo
- Forum Newbie
- Posts: 1
- Joined: Tue Nov 10, 2009 6:51 am
Re: show images which url stored in an array of php variable
You are in the wrong forum section!!