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
Thanks again for all of your help. Not having any programming background
makes for a lot of fun with PHP.
T
At 01:59 PM 4/15/04 +0100, Mikael Grön wrote:
What I did to learn PHP was to surf to http://www.hotscripts.com/ and look
at other peoples code.
Writing it yourself looking at the
I ma trying to learn PHP and am having difficulty with understanding it. Is
there a good PHP creator that will create PHP which will let me specify
what all I need to have done so that I can go back and try to figure out
just how it all fits together?
Thanks,
Tom
KI8IZ
I found Lerdorf and Tatroe's Programming PHP (O'Reilly 2002) extremely
helpful in understanding the why of PHP.
Mark
-Original Message-
From: Tom Cloyes [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 15, 2004 7:54 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] New To PHP
I ma trying
What I did to learn PHP was to surf to http://www.hotscripts.com/ and
look at other peoples code.
Writing it yourself looking at the hotscript codes also helps you
understand the logic of it.
Mike
On Apr 15, 2004, at 12:53, Tom Cloyes wrote:
I ma trying to learn PHP and am having difficulty
To: [EMAIL PROTECTED]
Subject: [PHP-DB] New To PHP
I ma trying to learn PHP and am having difficulty with understanding it. Is
there a good PHP creator that will create PHP which will let me specify
what all I need to have done so that I can go back and try to figure out
just how it all fits
Nice resource! Thanks for sharing!
Mark
-Original Message-
From: Mikael Grön [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 15, 2004 9:00 AM
To: Tom Cloyes; [EMAIL PROTECTED]
Subject: Re: [PHP-DB] New To PHP
What I did to learn PHP was to surf to http://www.hotscripts.com/ and
look
Lisi,
Thank you for your reply, and I've bookmarked both sites as well as
downloaded a few scripts that look promising. I've also found another
creator that may just be what I'm looking for - dbquiksite
- http://www.dbqwiksite.com/.
Thanks again,
T
At 03:20 PM 4/15/04 +0200, [EMAIL
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
JT $Location_Info = mysql_fetch_row($result);
JT echo p$Location_Info;
After you fetch the row, you have to extract the elements from the
array that makes up the row. For more than one row in your result, you have to call
mysql_fetch_row() again.
From
, 2002 10:18 AM
To: Jason Tobias
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] New to PHP Need Help
JT $Location_Info = mysql_fetch_row($result);
JT echo p$Location_Info;
After you fetch the row, you have to extract the elements from the
array that makes up the row. For more than one row in your
I am trying to define variables through an anchor tag to retrive data from
MySQL, When the script runs it displays Array. I am running WIN2K and IIS
5
echo a href=location.php?location=2Camp Street Cafe/a;
Here is the script that is called.
?php
$db = mysql_connect(localhost, , )
or die
Hello all,
I'm new to this database stuff - I'm looking to create a simple database in
MySQL for a news page.
Just want the date of the input and the text for each entry!
Not too hard! But I'm a complete novice!!!
I am using Dreamweaver UltraDev (and the PHP extension).
Many Thanks
Oli
assuming you have a DB setup with a table for the guestbook, just do a
standard query.
now the steps can be long and wordy. but essentially, you open a
connection to the DB server. you make a link to the DB. you then pass
an SQL query via PHP to Mysql. then it stores the result into an array
19 matches
Mail list logo