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

2004-04-17 Thread Tom Cloyes
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 hotscript

Re: [PHP-DB] New To PHP

2004-04-15 Thread Tom Cloyes
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 PROTECTED]

RE: [PHP-DB] New To PHP

2004-04-15 Thread Galbreath, Mark A
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

RE: [PHP-DB] New To PHP

2004-04-15 Thread Tom Cloyes
TECTED] Sent: Thursday, April 15, 2004 7:54 AM 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 an

Re: [PHP-DB] New To PHP

2004-04-15 Thread Mikael Grön
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 wi

RE: [PHP-DB] New To PHP

2004-04-15 Thread Galbreath, Mark A
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: [PH

[PHP-DB] New To PHP

2004-04-15 Thread Tom Cloyes
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 http://www.wooster-isp.ne

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

RE: [PHP-DB] New to PHP Need Help

2002-04-04 Thread Rick Emery
il 04, 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 "$Location_Info"; After you fetch the row, you have to extract the elements from the array that makes up the row. For more

Re: [PHP-DB] New to PHP Need Help

2002-04-04 Thread Julie Meloni
JT> $Location_Info = mysql_fetch_row($result); JT> echo "$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 http://www.php.net/manual/en/function

[PHP-DB] New to PHP Need Help

2002-04-04 Thread Jason Tobias
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 "Camp Street Cafe"; Here is the script that is called. $Location_Info"; ?> -- PHP Database Mailing List (http://www.php.net/) To

RE: [PHP-DB] New to PHP and MySQL!!!

2001-11-22 Thread matt stewart
s know how it's all set up first! -Original Message- From: Oli Wilkinson [mailto:[EMAIL PROTECTED]] Sent: 22 November 2001 15:02 To: [EMAIL PROTECTED] Subject: [PHP-DB] New to PHP and MySQL!!! Hello all, I'm new to this database stuff - I'm looking to create a simple dat

[PHP-DB] New to PHP and MySQL!!!

2001-11-22 Thread Oli Wilkinson
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 Wilk

Re: [PHP-DB] New to PHP and MySQL

2001-07-09 Thread leo g. divinagracia iii
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

[PHP-DB] New to PHP and MySQL

2001-07-09 Thread chris
Hi there, I'm new to PHP and MySQL - coming from ACCESS and ASP. Can someone please let me know - in simple terms :-) how to search a DB? I have written a guestbook which works fine, but I would like my users to be able to search it for a word or phrase and i'm not totally sure how to go abo