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

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
Mark, Thanks for responding. I have read the books: PHP4 A Beginners Guide by McCarty from Osborne Mastering PHP 4.1 by Allen and Hornberger from Sybex and have poked around in PHP Cookbook by Sklar and Trachtenberg from O'Reilly Also have read books on MySQL, and am left scratching my head. Have

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: [PHP-DB] New To PHP I ma trying to

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

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

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

2001-11-22 Thread matt stewart
i'd advise not using something like ultradev until you can write some nice little scripts in notepad! it's always easier to debug if you start learning the code properly, then move onto something like ultradev just to speed it up a bit when you're competent. firstly, the actual extraction of code

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