Re: [PHP] undefined variable

2006-04-30 Thread Smart Software
isset always returns 0 i create dynamic textbox called quantity0, textbox1, textbox3... then i a, trying to get the content of the textbox but it is always 0. as you can see, i tried the suggestions but it still dont work. is there something iam doing wroing? why is the textbox always 0?

Re: [PHP] undefined variable

2006-04-29 Thread Richard Lynch
On Sat, April 29, 2006 5:42 am, Smart Software wrote: > code below shows all records from products table with an textbox and > an > order button for each record > How can i add the content of the textbox? > i tried this: > ?>"> > > but all i get is an error telling me there is a undefined varabl

Re: [PHP] undefined variable

2006-04-29 Thread John Wells
> 2006/4/29, Smart Software <[EMAIL PROTECTED]>: > How can i add the content of the textbox? > i tried this: > ?>"> > > but all i get is an error telling me there is a undefined varable It looks like you're trying to get at $quantity, but have you pulled it from the submitted form yet? If you

Re: [PHP] undefined variable

2006-04-29 Thread Martin Alterisio
2006/4/29, Smart Software <[EMAIL PROTECTED]>: code below shows all records from products table with an textbox and an order button for each record "> if someone presses the button, an item will be ordered. How can i add the content of the textbox? i tried this: "> but all

[PHP] Undefined Variable Problems...

2005-03-06 Thread Nick Zukin
Sorry if this has been covered before. I just joined this list. My host just upgraded PHP to 4.3.10 from 4.1.2. A couple of my clients are using systems such as PHP-NUKE or various message boards. I hadn't been paying attention to my log files, but all of a sudden they got huge, especially the

Re: [PHP] UNDEFINED VARIABLE ON LOCALHOST

2004-11-29 Thread Ross Hulford
It was my error reporting.forgot I replaced my ini file. "John Nichel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Ross Hulford wrote: >> I have a porblem with undefined variables on loacalhost. Any ideas why? I >> have turned registed variables on. >> >> >> R. > > Without s

Re: [PHP] UNDEFINED VARIABLE ON LOCALHOST

2004-11-29 Thread Greg Donald
On Mon, 29 Nov 2004 17:11:47 -, Ross Hulford <[EMAIL PROTECTED]> wrote: > I have a porblem with undefined variables on loacalhost. Any ideas why? I > have turned registed variables on. Where's the code? -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/

Re: [PHP] UNDEFINED VARIABLE ON LOCALHOST

2004-11-29 Thread John Nichel
Ross Hulford wrote: I have a porblem with undefined variables on loacalhost. Any ideas why? I have turned registed variables on. R. Without seeing any code, I'm going to guess that you haven't defined a variable before trying to use it. Wanna make it go away? Turn off 'notices' in your error

[PHP] UNDEFINED VARIABLE ON LOCALHOST

2004-11-29 Thread Ross Hulford
I have a porblem with undefined variables on loacalhost. Any ideas why? I have turned registed variables on. R. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] Undefined variable using hyperlink

2003-12-10 Thread Richard Davey
Hello, Wednesday, December 10, 2003, 5:45:17 PM, you wrote: >> $msgid = $_GET['msgid']; P> That seems to have corrected the problem. Thank you very much. Cool - do you understand why though? I don't mean to sound patronising, so please don't take offence at my question, just making sure. --

Re: [PHP] Undefined variable using hyperlink

2003-12-10 Thread PHP
That seems to have corrected the problem. Thank you very much. On 12/10/03 11:56 AM, "Richard Davey" <[EMAIL PROTECTED]> wrote: > Hello, > > Wednesday, December 10, 2003, 4:53:18 PM, you wrote: > > P> I can retrieve email from the email account, but when I click on a link in > P> the email.p

Re: [PHP] Undefined variable using hyperlink

2003-12-10 Thread Richard Davey
Hello, Wednesday, December 10, 2003, 4:53:18 PM, you wrote: P> I can retrieve email from the email account, but when I click on a link in P> the email.php to open the email in body.php, $msgid is not defined in P> body.php. It's got to be something basic, but right now, it escapes me. P> Right n

[PHP] Undefined variable using hyperlink

2003-12-10 Thread PHP
I'm having some basic problems with the following pages, index.php (frames base), email.php, and body.php. I can retrieve email from the email account, but when I click on a link in the email.php to open the email in body.php, $msgid is not defined in body.php. It's got to be something basic,

Re: [PHP] undefined variable

2003-08-29 Thread Viraj Kalinga Abayarathna
eply-To: " . $_POST['sender_email'] . "\n\n"; > > mail("[EMAIL PROTECTED]", "Feedback Form", $msg, $mailheaders); > > -- > Chris Kay (CK) > Eleet Internet Services > M: 0415 451 372 > P: 02 4620 5076 > F: 02 4620 7008 >

RE: [PHP] undefined variable

2003-08-29 Thread Chris Kay
Services M: 0415 451 372 P: 02 4620 5076 F: 02 4620 7008 E: [EMAIL PROTECTED] -Original Message- From: merryE [mailto:[EMAIL PROTECTED] Sent: Friday, 29 August 2003 2:38 AM To: [EMAIL PROTECTED] Subject: [PHP] undefined variable Can anyone tell me what's wrong with my code? I tri

[PHP] undefined variable

2003-08-29 Thread merryE
Can anyone tell me what's wrong with my code? I tried to create a form in html and redirect it to php. but result said: Notice: Undefined variable: sender_name in c:\program files\apache group\apache\htdocs\do_feedback.php on line 2 and for all the variables ("sender_email", "like_site", and "

Re: [PHP] Undefined variable problem

2003-08-01 Thread Curt Zirzow
* Thus wrote Ryan A ([EMAIL PROTECTED]): > > Notice: Undefined variable: email1 in c:\phpdev\www\bwh\project\compare.php > on line 117 > [...] > >$m = 1; >while ($line = mysql_fetch_assoc($rs)) { //dumping into an array > foreach ($line as $field => $value) { > $tmp = $field.$m;

Re: [PHP] Undefined variable problem

2003-08-01 Thread Ryan A
IT WORKS!!! Thanks for replying and the solution. Cheers, -Ryan Hello, This is a reply to an e-mail that you wrote on Fri, 1 Aug 2003 at 14:47, lines prefixed by '>' were originally written by you. > Notice: Undefined variable: email1 in > c:phpdevwwwbwhprojectcompare.php > on line 117 > $$tmp

Re: [PHP] Undefined variable problem

2003-08-01 Thread Joona Kulmala
Hello This is the code: $m = 1; while ($line = mysql_fetch_assoc($rs)) { //dumping into an array foreach ($line as $field => $value) { $tmp = $field.$m; $$tmp.= $value; /* This is the error line 117*** */ } $m++; } This is basically so that i can use the a

Re: [PHP] Undefined variable problem

2003-08-01 Thread David Nicholson
Hello, This is a reply to an e-mail that you wrote on Fri, 1 Aug 2003 at 14:47, lines prefixed by '>' were originally written by you. > Notice: Undefined variable: email1 in > c:phpdevwwwbwhprojectcompare.php > on line 117 > $$tmp.= $value; /* This is the error line 117*** */ You a

[PHP] Undefined variable problem

2003-08-01 Thread Ryan A
Hi, This is the following code given to me by Jenniffer Goodie (thank you) which is working great but is throwing this notice: Notice: Undefined variable: email1 in c:\phpdev\www\bwh\project\compare.php on line 117 Notice: Undefined variable: address1 in c:\phpdev\www\bwh\project\compare.php on li

RE: [PHP] undefined variable: action

2003-06-12 Thread Ford, Mike [LSS]
> -Original Message- > From: Ryan M [mailto:[EMAIL PROTECTED] > Sent: 11 June 2003 20:22 > > Thanks for the advice... The link worked Now it is saying this: > > Notice: Undefined index: action in > > It only says this if there is no action...it goes away once I > click the link

Re: [PHP] undefined variable: action

2003-06-11 Thread Lars Torben Wilson
On Wed, 2003-06-11 at 13:40, Mark wrote: > Or you can simply turn off NOTICE error reporting in the php.ini file > or use ini_set or error_reporting() to not include notices. This > should not affect functionality. That's not a good idea; it's treating the symptom, not the problem. A better idea

Re: [PHP] undefined variable: action

2003-06-11 Thread Mark
Or you can simply turn off NOTICE error reporting in the php.ini file or use ini_set or error_reporting() to not include notices. This should not affect functionality. --- Lars Torben Wilson <[EMAIL PROTECTED]> wrote: > On Wed, 2003-06-11 at 12:22, Ryan M wrote: > > Thanks for the advice... The

Re: [PHP] undefined variable: action

2003-06-11 Thread Lars Torben Wilson
On Wed, 2003-06-11 at 12:22, Ryan M wrote: > Thanks for the advice... The link worked Now it is saying this: > > Notice: Undefined index: action in > > It only says this if there is no action...it goes away once I click the link > and the action=someaction Is there a way to fix my php

RE: [PHP] undefined variable: action

2003-06-11 Thread Jay Blanchard
[snip] Thanks for the advice... The link worked Now it is saying this: Notice: Undefined index: action in It only says this if there is no action...it goes away once I click the link and the action=someaction Is there a way to fix my php so that I dont have to change all of the web si

Re: [PHP] undefined variable: action

2003-06-11 Thread Ryan M
Thanks for the advice... The link worked Now it is saying this: Notice: Undefined index: action in It only says this if there is no action...it goes away once I click the link and the action=someaction Is there a way to fix my php so that I dont have to change all of the web sites hos

RE: [PHP] undefined variable: action

2003-06-11 Thread Jay Blanchard
[snip] Hows it goin?? Im pretty new to this, so I have a pretty simple question. I am running an apache server with php 4 on a win 2k machine. When I try to do something like this: Some Action"; if ($action == "someaction") { echo "Anything"; } ?> It says: Notice: Undefined variable: action in ..

[PHP] undefined variable: action

2003-06-11 Thread Ryan M
Hows it goin?? Im pretty new to this, so I have a pretty simple question. I am running an apache server with php 4 on a win 2k machine. When I try to do something like this: Some Action"; if ($action == "someaction") { echo "Anything"; } ?> It says: Notice: Undefined variable: action in . Iv

Re: [PHP] undefined variable notice - how to furn of

2003-01-09 Thread Gurvinder Singh
; - Original Message - > From: "Borut Kovacec" <[EMAIL PROTECTED]> > To: "PHP Mailing List" <[EMAIL PROTECTED]> > Sent: Thursday, January 09, 2003 9:57 AM > Subject: [PHP] undefined variable notice - how to furn of > > > Hi > >

Re: [PHP] undefined variable notice - how to furn of

2003-01-09 Thread Joseph W. Goff
In the php.ini file set error reporting to E_ALL & ~E_NOTICE - Original Message - From: "Borut Kovacec" <[EMAIL PROTECTED]> To: "PHP Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, January 09, 2003 9:57 AM Subject: [PHP] undefined variable notice - h

RE: [PHP] undefined variable notice - how to furn of[Scanned]

2003-01-09 Thread Michael Egan
AIL PROTECTED]] Sent: 09 January 2003 15:57 To: PHP Mailing List Subject: [PHP] undefined variable notice - how to furn of[Scanned] Hi I just installed new php 4.2.3 on Win XP, Apache 1.3.24.. Everything works fine, just now I'm getting "Notice" messages for every undefined variable o

[PHP] undefined variable notice - how to furn of

2003-01-09 Thread Borut Kovacec
Hi I just installed new php 4.2.3 on Win XP, Apache 1.3.24.. Everything works fine, just now I'm getting "Notice" messages for every undefined variable or undefined index in arrays.. So now I have to use issset() everytime to avoid this messages... ..is there any way to turn this messages off,

RE: [PHP] Undefined variable error message[Scanned]

2002-12-18 Thread Michael Egan
ks to everybody else who responded to this query. Michael Egan -Original Message- From: Jon Haworth [mailto:[EMAIL PROTECTED]] Sent: 18 December 2002 10:39 To: Michael Egan; PHP General (E-mail) Subject: RE: [PHP] Undefined variable error message[Scanned] Hi Michael, > All of the PHP

Re: [PHP] Undefined variable error message

2002-12-18 Thread Chris Hewitt
Hmm, yes. Why did I not think of error reporting at E_ALL? Chris Hewitt wrote: Michael Egan wrote: All of the PHP scripts hosted on a Linux server I'm working with have suddenly begun producing an error message: undefined variable 'variablename' Has the code been working on a different

Re: [PHP] Undefined variable error message

2002-12-18 Thread Chris Hewitt
Michael Egan wrote: All of the PHP scripts hosted on a Linux server I'm working with have suddenly begun producing an error message: undefined variable 'variablename' Has the code been working on a different server with an earlier version of PHP (or this server upgraded)? It sounds as though

RE: [PHP] Undefined variable error message

2002-12-18 Thread Jon Haworth
Hi Michael, > All of the PHP scripts hosted on a Linux server > I'm working with have suddenly begun producing > an error message: > > undefined variable 'variablename' Looks like someone's tweaked the error reporting level so it's on E_ALL, which can be a somewhat alarmist setting :-) R

Re: [PHP] Undefined variable error message

2002-12-18 Thread Wico de Leeuw
http://www.php.net/manual/en/function.error-reporting.php At 10:31 18-12-02 +, Michael Egan wrote: All of the PHP scripts hosted on a Linux server I'm working with have suddenly begun producing an error message: undefined variable 'variablename' This occurs wherever a variable name

[PHP] Undefined variable error message

2002-12-18 Thread Michael Egan
All of the PHP scripts hosted on a Linux server I'm working with have suddenly begun producing an error message: undefined variable 'variablename' This occurs wherever a variable name is referred to. I'm concerned about this for two reasons: 1 Will I have to go through each scri

Re: [PHP] Undefined Variable

2002-12-14 Thread Anthony Ritter
Marco Tabini <[EMAIL PROTECTED]> wrote in message: > Hey Anthony-- > > It's definitely a register_globals problem. Your ISP has turned it off > because it's generally considered a significant security risk. > > The best way to solve it is to use the superglobal $_POST to access your > post data. In

Re: [PHP] Undefined Variable

2002-12-14 Thread Marco Tabini
Hey Anthony-- It's definitely a register_globals problem. Your ISP has turned it off because it's generally considered a significant security risk. The best way to solve it is to use the superglobal $_POST to access your post data. In your PHP script, change all the variables that you take from t

Re: [PHP] Undefined Variable

2002-12-14 Thread Anthony Ritter
>"Marco Tabini <[EMAIL PROTECTED]> wrote in message: > Best guess, your local server has register_globals on and your ISP > doesn't. However, without seeing your code it's going to be difficult to > tell for sure! :-) > > > Marco Thanks for the

Re: [PHP] Undefined Variable

2002-12-14 Thread Marco Tabini
Best guess, your local server has register_globals on and your ISP doesn't. However, without seeing your code it's going to be difficult to tell for sure! :-) Marco -- php|architect - The Magazine for PHP Professionals The monthly magazine dedicated to the world of PHP programming

[PHP] Undefined Variable

2002-12-14 Thread Anthony Ritter
Using MS Win 98 / Apache Server: I'm trying to test a form box using the php mail() function. All is well when I fill in the text boxes and hit submit. I receive the e-mail. The form action in the html page is: http://localhost/getform.php"; METHOD="POST"> _Now_ when I copy both of those fi

[PHP] Undefined Variable

2002-11-23 Thread Adriano Santos
Hi, I'm with problem: Undefined Variable. I'm using : PHP 4.2.3 MySql 3.2.39 Windows 2000 How do I make to soluction my problem ? thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Undefined Variable errors

2002-11-11 Thread John W. Holmes
> I'm migrating to PHP from ColdFusion. > > I've been running some sample scripts I have found in various places and > all > of them throw an error: > > Notice: Undefined variable: in > c:\inetpub\wwwroot\myphpcalendar\ on line . > > In ColdFusion, I can use the tag to preset a variable. I've

[PHP] Undefined Variable errors

2002-11-11 Thread James Johnson
Hello, I'm migrating to PHP from ColdFusion. I've been running some sample scripts I have found in various places and all of them throw an error: Notice: Undefined variable: in c:\inetpub\wwwroot\myphpcalendar\ on line . In ColdFusion, I can use the tag to preset a variable. I've tried the fo

RE: [PHP] Undefined variable

2002-10-09 Thread Daniel Kushner
09, 2002 8:22 AM To: [EMAIL PROTECTED] Subject: [PHP] Undefined variable I'm trying to process data from a form, regardless whether I'm using GET or POST method, the value that i get in the processed form is still null. I check in the error log file and this is what it say: [Wed Oct

[PHP] Undefined variable

2002-10-09 Thread Muhammad Khairuzzaman
I'm trying to process data from a form, regardless whether I'm using GET or POST method, the value that i get in the processed form is still null. I check in the error log file and this is what it say: [Wed Oct 09 20:18:47 2002] [error] PHP Notice: Undefined variable: name in e:\program files\

Re: [PHP] Undefined variable: blabla ?

2002-10-08 Thread Chris Hewitt
Hkan wrote: >I just reinstalled the system and everything on my computer, and thought I >should get the latest versions of apache, php and mysql, and now I get this >message everywhere on my pages.. hehe.. :P >how do I "define variables" ? > If you have reinstalled with latest versions, maybe you

[PHP] Undefined variable: blabla ?

2002-10-08 Thread Håkan
I just reinstalled the system and everything on my computer, and thought I should get the latest versions of apache, php and mysql, and now I get this message everywhere on my pages.. hehe.. :P how do I "define variables" ? Håkan -- PHP General Mailing List (http://www.php.net/) To unsubscrib

RE: [PHP] Undefined variable: PHP_SELF

2002-08-15 Thread Bob Lockie
$_SERVER['PHP_SELF'] when globals are off. >How about this: > > > >- Vic > > >-Original Message- >From: Manuel Ochoa [mailto:[EMAIL PROTECTED]] >Sent: Thursday, August 15, 2002 7:20 PM >To: PHP General >Subject: [PHP] Undefined variable: PH

RE: [PHP] Undefined variable: PHP_SELF

2002-08-15 Thread vic
How about this: - Vic -Original Message- From: Manuel Ochoa [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 7:20 PM To: PHP General Subject: [PHP] Undefined variable: PHP_SELF I keep getting "Undefined variable: PHP_SELF" when using the following: Global

Re: [PHP] Undefined variable: PHP_SELF

2002-08-15 Thread Jadiel Flores
Try $_SERVER['PHP_SELF'] instead of $PHP_SELF At 04:19 PM 8/15/2002 -0700, you wrote: >I keep getting "Undefined variable: PHP_SELF" when using the following: > > > >Global variables are off... What am I doing wrong? Jadiel Flores - http://www.abargon.com [EMAIL PROTECTE

RE: [PHP] Undefined variable: PHP_SELF

2002-08-15 Thread David Freeman
> I keep getting "Undefined variable: PHP_SELF" when using the > following: > > > > Global variables are off... What am I doing wrong? In current versions of PHP, $PHP_SELF is available if globals are on. You'll need $_SERVER['PHP_SELF'] instead if you're keeping globals off. CYA, Dav

[PHP] Undefined variable: PHP_SELF

2002-08-15 Thread Manuel Ochoa
I keep getting "Undefined variable: PHP_SELF" when using the following: Global variables are off... What am I doing wrong?

[PHP] undefined variable...working in PHP 4.1.2 not 4.2.1

2002-05-23 Thread Joshua E Minnie
Hey all, I am having a problem that maybe some of you have had as well. I am using a session and when I pass the session variable to the next page it comes back as undefined. Is there some new syntax in 4.2.1 that I am missing, I thought that I made all the necessary changes. Here is the en

Re: Tr: [PHP] New to PHP - Undefined variable: ??????

2002-05-01 Thread Philip Olson
t; To: TGL <[EMAIL PROTECTED]> > Sent: Wednesday, May 01, 2002 11:47 PM > Subject: Re: [PHP] New to PHP - Undefined variable: ?? > > > > Well, I think the first 2 lines of your script should be : > > > > echo "\$FILE : $FILE"; > > var_dump($FILE

Tr: [PHP] New to PHP - Undefined variable: ??????

2002-05-01 Thread nico_free
- Original Message - From: nico_free <[EMAIL PROTECTED]> To: TGL <[EMAIL PROTECTED]> Sent: Wednesday, May 01, 2002 11:47 PM Subject: Re: [PHP] New to PHP - Undefined variable: ?? > Well, I think the first 2 lines of your script should be : > > echo "\

Re: [PHP] New to PHP - Undefined variable: ??????

2002-05-01 Thread Philip Olson
Undefined variables errors are errors of level E_NOTICE. Instead of if ($File) use if (isset($File)) or similiar (such as empty()). Depending on your mission. A similiar example: if (empty($form_submitted)) { include 'form.html'; } else { include 'process_form.php'; } It's worth mention

[PHP] New to PHP - Undefined variable: ??????

2002-05-01 Thread TGL
I'm new to PHP and can't get through my first script. I want to create a form that will allow the user to attach a file. I started with the file upload part of the form thinking that it ould give me the most problem, and it has. This is the error message that shows when I view the page in the bro

RE: [PHP] undefined variable when using if ($var) {}

2002-03-25 Thread Darren Gamble
Cablesystems GP 630 - 3rd Avenue SW Calgary, Alberta, Canada T2P 4L4 (403) 781-4948 -Original Message- From: Martha S [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 9:44 AM To: [EMAIL PROTECTED] Subject: [PHP] undefined variable when using if ($var) {} I'm rather new to PHP, so

[PHP] undefined variable when using if ($var) {}

2002-03-25 Thread Martha S
I'm rather new to PHP, so this should be fairly easy to answer. I checked the manual and FAQ already. I'm using the following code, and I get the following message if $id has nothing in the var (i have it set to a default of type int, not null in mysql). Is there a way around this or something I

[PHP] Undefined Variable in IF...ELSE IF ...ELSE IF (NEWBIE ?)

2002-03-15 Thread Daniel Negron/KBE
I have error's enabled in php.ini. I keep getting Undefined variable when I run a script that contains IF or ELSE IF's. Is this normal because the variable hasn't been set at the beginning of the script ? Thank You <><><><><><><><><><><><><><><><> Daniel Negrón Lotus Notes Administrator /

Re: [PHP] Undefined variable

2001-10-19 Thread Dimitris Kossikidis
This should work ... if ( IsSet($id) ) { . sql statement }else{ . } - Original Message - From: "Tshering Norbu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 19, 2001 12:22 PM Subject: [PHP] Undefined variable >

RE: [PHP] Undefined variable

2001-10-19 Thread Boaz Yahav
EMAIL PROTECTED]] Sent: Friday, October 19, 2001 11:23 AM To: [EMAIL PROTECTED] Subject: [PHP] Undefined variable Dear list, I test the following script on local web server and it runs fine. But when I upload the script to the real web server I get the following error/message, but the script

[PHP] Undefined variable

2001-10-19 Thread Tshering Norbu
Dear list, I test the following script on local web server and it runs fine. But when I upload the script to the real web server I get the following error/message, but the script works fine. Do you know why? Here is the error/message I get: Undefined variable : id in test.php on line 6 And h

Re: [PHP] Undefined Variable in formular... what happens???

2001-09-18 Thread Philip Olson
Most likely it has to do with your error_reporting setting. See : http://uk.php.net/manual/en/phpdevel-errors.php#internal.e-notice http://uk.php.net/manual/en/features.error-handling.php Level E_NOTICE produces Warnings such as "Undefined Variable", so, doing the following : echo $ia

[PHP] Undefined Variable in formular... what happens???

2001-09-18 Thread Ingo
hello i am using win2000 xitami, php and access. so my problem is that the script couldn't find the variable.. . so i cant save the user changed buttons and editfields... is that a known problem with xitami and php? when i try to run the script on a real webserver with .php installed, it works f

Re: [PHP] 'Undefined Variable' help...

2001-09-04 Thread Philip Olson
Hi Uchendu! Yes, this is very possible! Here are a few things that come to mind. There are of course many ways to do this : To check the existance of a variable, consider isset() as it checks for the existance of a variable : if (isset($HTTP_GET_VARS['images'])) Maybe set some default val

[PHP] 'Undefined Variable' help...

2001-09-04 Thread Uchendu Nwachukwu
OK, I have a problem calling a function using default variables. In 'gallery.inc': - function gallery ($filename, $first = 1, $tablewidth = 4, $total = 20) { echo "Filename: $filename, First image: $first, Table Width: $tablewidth, Total: $total"; } ---

Re: [PHP] "undefined variable view ..."

2001-08-26 Thread David Robley
On Mon, 27 Aug 2001 02:59, Wolfgang Schneider wrote: > Hi everybody, > can someone have a look at this bit of code please and help me out? > I am getting an error message when calling a php page containing the > code below, and the message reads: > > "Warning: Undefined index: view in > c:/bibelce

[PHP] "undefined variable view ..."

2001-08-26 Thread Wolfgang Schneider
Hi everybody, can someone have a look at this bit of code please and help me out? I am getting an error message when calling a php page containing the code below, and the message reads: "Warning: Undefined index: view in c:/bibelcenter.de/www/links/links.php3 on line 76" Now the line 76 in ques

Re: [PHP] Undefined Variable

2001-03-18 Thread David Robley
On Sun, 18 Mar 2001 00:13, Jorge Alvarez wrote: > Hi there, > > I get this error every time I try to use a variable that has not been > declared. Is this new to PHP4? I do not recall this error in the past, > echo $MYVAR echoed nothing if $MYVAR was not set but no error was > raised. > > How can I

[PHP] Undefined Variable

2001-03-17 Thread Jorge Alvarez
Hi there, I get this error every time I try to use a variable that has not been declared. Is this new to PHP4? I do not recall this error in the past, echo $MYVAR echoed nothing if $MYVAR was not set but no error was raised. How can I revert PHP behavior to 'no-error' with undeclared variables?

RE: [PHP] Undefined variable

2001-02-04 Thread PHPBeginner.com
: Php_List Subject: [PHP] Undefined variable Hello When creating a page(php) on Win2000 I get alot of 'Undefined variable' error messages, but there are no errors at all running the same page on a apache server. How come? Thanks for some hints. Roland -- PHP General Mailing

Re: [PHP] Undefined variable

2001-02-03 Thread Steve Werby
"Dundee (Roland)" <[EMAIL PROTECTED]> wrote: > When creating a page(php) on Win2000 I get alot of 'Undefined variable' > error messages, but there are no errors at all running the same page on a > apache server. Is the variable a user defined variable? If so, my guess is the error reporting leve

[PHP] Undefined variable

2001-02-03 Thread Dundee \(Roland\)
Hello When creating a page(php) on Win2000 I get alot of 'Undefined variable' error messages, but there are no errors at all running the same page on a apache server. How come? Thanks for some hints. Roland -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PR