Re: [PHP] new to php, need help..

2003-02-20 Thread Chris Cook
Try naming the file with a .php extension. It is also possible your server does not support php. Good luck, Chris From: "Jonathan" <[EMAIL PROTECTED]> Reply-To: "Jonathan" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [PHP] new to php, need help.. Date: Thu, 20 Feb 2003 01:34:12 -0600 hi a

Re: [PHP] New to PHP Need Help

2002-04-04 Thread Philip Olson
Firstly, cross-posting like this is a huge no-no, please don't do that again. > When the script runs it displays Array. Printing arrays directly will do that. Logically speaking, how do you expect PHP to know what value to get here? You are SELECTing many. > I am running WIN2K and IIS 5

Re: [PHP] New to PHP Need Help

2002-04-04 Thread Hiroshi Ayukawa
Hello, The result $Location_info is an array.So you've got the answer 'Array'. Consider that you requested MySQL to fetch several columns through SQL "Select * from...". So the result was an array. You can get the content of the result like $Location_info[0],$Location_ info[2],and so on. Hir

RE: [PHP] New to PHP Need Help

2002-04-04 Thread Rick Emery
change: $Location_Info = mysql_fetch_row($result); to: $row = mysql_fetch_array($result); $Location_Info = $row['fieldname']; replace "fieldname" with the real name of your database field -Original Message- From: Jason Tobias [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 9:2

Re: [PHP] New to PHP, need help.

2002-03-07 Thread Matt Drake
Michele, Possible a dumb question, but does the machine you are running it on have PHP installed and configured to work with the server software? If so, did you name the file correctly? It may need to be called "page.php" rather than "page.html"... M On Thu, 7 Mar 2002, Michele wrote: > I cur