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