p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Go Back   p2p.wrox.com Forums > PHP/MySQL > PHP How-To
I forgot my password Register Now
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
PHP How-To Post your "How do I do this with PHP?" questions here.

Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 9th, 2007, 03:09 PM
Registered User
 
Join Date: Jul 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default image/db issue

Still a little new to some parts of PHP, and I can't seem to find a good solution to this problem.

I have a row of placeholder images lined up in a grid on the site. What I would like to do is pull entries from the database and replace the placeholder images with the ones from the database. If possible I would also like to scatter the entries.

The database has several entries and will be pulled a few at a time, based on the class.

ex. x=placeholder image

      |x|x|x|x|
      |x|x|x|x|
      |x|x|x|x|
      |x|x|x|x|



ex2.
      |6|x|9|3|
      |x|1|x|7|
      |4|x|5|x|
      |8|x|2|x|


Any help would be appreciated!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #2 (permalink)  
Old July 11th, 2007, 03:22 PM
Friend of Wrox
 
Join Date: Nov 2005
Location: Rotterdam, , Netherlands.
Posts: 223
Thanks: 0
Thanked 0 Times in 0 Posts
Default

What do you mean with grid? do you mean a table?
how about every image has an array to start with and you randomly place the arrays

__________________________________________________ ________
I am DJ Kat...that's my name. Its a D and a J and a Kat with a K.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Issue with image buttons aspless Classic ASP Basics 11 December 19th, 2007 06:32 PM
Insert Issue into Acces DB brawny4 Visual Basic 2005 Basics 2 February 21st, 2007 08:43 PM
Workaround for DB Update Issue Sturdy BOOK: Wrox's SQL Server 2005 Express Edition Starter Kit ISBN: 978-0-7645-8923-2 8 April 12th, 2006 01:15 PM
image issue in dreamweaver amz BOOK: Beginning Dreamweaver MX/MX 2004 MX ISBN: 978-0-7645-4404-0; MX 2004 ISBN: 978-0-7645-5524-4 0 November 20th, 2005 03:18 PM
DB issue Hasee VS.NET 2002/2003 0 February 11th, 2004 07:57 AM



All times are GMT -4. The time now is 11:22 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc