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

[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

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

2008-01-05 Thread Matt Anderton
how about like this: echo table\ntr; $result = @mysql_query(SELECT image FROM specials); while($row = mysql_fetch_row($result)) { echo tdimg src= . $row[0] . //td\n; } echo /tr\n/table\n; hope it helps! matt On Jan 5, 2008 4:51 PM, Thomas [EMAIL PROTECTED] wrote: I'm attempting to make a

[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

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 totally free

[PHP-DB] new user php/mysql problem

2002-05-06 Thread pesoto74
When I create a new user with grant I am able to access mysql with the new user through the command line and by applications like mysqlfront, however I am not able to connect with php. Does anybody have an idea of how to correct this? Thanks Ted Kappes -- PHP Database Mailing List

RE: [PHP-DB] new user php/mysql problem

2002-05-06 Thread Ryan Jameson (USA)
PROTECTED] Subject: [PHP-DB] new user php/mysql problem When I create a new user with grant I am able to access mysql with the new user through the command line and by applications like mysqlfront, however I am not able to connect with php. Does anybody have an idea of how to correct this? Thanks