Re: [PHP-DB] New to PHP/MySQL - Need help with images

2008-01-06 Thread Chris
Thomas wrote: I'm attempting to make a table with one row and 3 columns holding three different images. I want each image URL to be called from my database. Everything is set-up in my database. When I use the following code, it places the same picture across the three columns and does this thre

Re: [PHP-DB] New to PHP/MySQL - Need help with images

2008-01-05 Thread Matt Anderton
how about like this: echo "\n"; $result = @mysql_query("SELECT image FROM specials"); while($row = mysql_fetch_row($result)) { echo "\n"; } echo "\n\n"; hope it helps! matt On Jan 5, 2008 4:51 PM, Thomas <[EMAIL PROTECTED]> wrote: > I'm attempting to make a table with one row and 3 columns h

[PHP-DB] New to PHP/MySQL - Need help with images

2008-01-05 Thread Thomas
I'm attempting to make a table with one row and 3 columns holding three different images. I want each image URL to be called from my database. Everything is set-up in my database. When I use the following code, it places the same picture across the three columns and does this three times (c

RE: [PHP-DB] New to PHP & mySQL

2002-08-25 Thread Mark Middleton
> The one thing I cannot get into my head is how can you tell the database > that all the days between the "start" and "end" dates are booked. > Also when > people search for a caravan on a specific date and say they want it for 7 > day the database/PHP checks to see if the entire period is > tot

[PHP-DB] New to PHP & mySQL

2002-08-25 Thread Ray Healy \(Data Net Services\)
Hi all (details of database at then end of this message) I hope someone can give me some advice. I am trying to create a database and access via PHP for a friend of mine that has a caravan park. What I want him to be able to do is to add bookings for the caravans via a PHP page and for clients to