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

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

[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

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

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

RE: [PHP-DB] New To PHP

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

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

[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

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

2002-04-04 Thread Julie Meloni
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

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

2002-04-04 Thread Rick Emery
, 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

[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 a href=location.php?location=2Camp Street Cafe/a; Here is the script that is called. ?php $db = mysql_connect(localhost, , ) or die

[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

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