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 all

[PHP] new to php, need help..

2003-02-19 Thread Jonathan
hi all, i've only begun learning php around 1 week ago, i'm having trouble with this code, html head titleUntitled Document/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head body ? if (isset($subject)) { echo $subject[0]br /; echo $subject[1]p /; } else { $subject[0]

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.

RE: [PHP] New to PHP Need Help

2002-04-04 Thread Rick Emery
AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PHP] New to PHP Need Help 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

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

[PHP] 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] New to PHP, need help.

2002-03-07 Thread Michele
I currently working with some free source from CyberGl and am having a problem with the membership module. I've inserted the php into the beginning of the page but when I go to test the page, nothing appears. I don't get a 404 error or any error, the page just doesn't display. Any ideas?

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

Re: [PHP] New on PHP, need help with sessions

2001-07-03 Thread mike cullerton
on 7/3/01 12:19 AM, Victor Spång Arthursson at [EMAIL PROTECTED] wrote: Hi! I'm converting from ASP/VBScript, and need to know how to declare a session variable. i feel your pain. i just finished moving a site from ASP/VBScript to PHP/Javascript, learning ASP/VBScript and Javascript

Re: [PHP] New on PHP, need help with sessions

2001-07-03 Thread mike cullerton
i believe this is track_vars, but as of php 4.0.3, this is always on. on 7/3/01 9:21 AM, Kurt Lieber at [EMAIL PROTECTED] wrote: Hi Mike -- a related question to your post below. Specifically $HTTP_SESSION_VARS[variablename] or (depending on how php is configured) $variablename.

[PHP] New on PHP, need help with sessions

2001-07-02 Thread Victor Spång Arthursson
Hi! I'm converting from ASP/VBScript, and need to know how to declare a session variable. In VBScript I just type in: % session(any) = victor % Then I can print that variable on any page on the same webpage using: % response.write session(any) % as long as I don't close the browser or the