On Sun, April 30, 2006 6:17 am, Smart Software wrote:
> while(query )//here the query is opened
Please, JUST post your real code in http://pastebin.com or something!
We CANNOT figure out what the [bleep] you really have from this!
> {
>
>
> name ?> // record from database
>
> Original Message
> Subject: [PHP] re: undefined variable
> From: "Smart Software" <[EMAIL PROTECTED]>
> Date: Sun, April 30, 2006 1:50 pm
> To: php-general@lists.php.net
>
> //get content of textbox
> $q = isset($_REQUEST['
Smart Software wrote:
while(query )//here the query is opened
{
name ?> // record from database
Please fill in your age: //text
//textbox,
name";
?> "
}
Actually a Javascript question, but I seem to be in a rare good mood
today, so
Also, since this is a very massive list with high traffic, quote when necessary.
For example, consider this message:
> Can i draw something ?
Yes you can
> Thanks
You're welcome
In that case quote is quite useful :D
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
hp-general@lists.php.net
Subject: [PHP] Re: Undefined Variable Problems...
Please keep responses on the mailing list / newsgroup...
Nick Zukin wrote:
> Thanks for the quick response.
>
> Yes, had to turn register_globals on because it broke things. Many of
these
> sites aren't mine and I h
Please keep responses on the mailing list / newsgroup...
Nick Zukin wrote:
> Thanks for the quick response.
>
> Yes, had to turn register_globals on because it broke things. Many of
these
> sites aren't mine and I have no idea what's involved in trying to fix them
> all. If you saw a full 1.2 GB
Nick Zukin wrote:
...
> line 79, if ($forum_admin == 1) {
> line 486, $uname = $cookie[1];
> line 216, $pwd = "$user[2]";
>
> Line 79 is not part of a function or class. It is the first reference to
> $forum_admin in the script. The other two are within functions and the
> first call within tho
>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...
you would initialize your variables in the beginning of your scripts. With
that, you don't need isset().
>.
Thanks.
Adriano Santos wrote:
My php.ini: error_reporting = E_ALL & ~E_NOTICE
I have a form to send of the variables, but my page do not receive values.
This my code:
I guess you use PHP 4.2.0+; since this version the register_globals setting
defaults to off. See http://www.php.net/release_4_2_0.p
My php.ini: error_reporting = E_ALL & ~E_NOTICE
I have a form to send of the variables, but my page do not receive values.
This my code:
thanks
"Derick Rethans" <[EMAIL PROTECTED]> escreveu na mensagem
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Adriano Santos wrote:
> > Hi,
> >
> > I'm
Adriano Santos wrote:
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 ?
at the top of your script:
error_reporting(E_ALL & ~E_NOTICE);
or initialize your variables likes:
$number = 0;
$string = "foo";
Derick
--
"Muhammad Khairuzzaman" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I worked, but i dont get it, why use $_POST['name'] or $_GET['name'] when
If you set a variable inside your script called $validuser=true, how
would you know if that was POSTed to your
Hi,
Muhammad Khairuzzaman wrote:
> Hi, thanks for the help!
>
> I worked, but i dont get it, why use $_POST['name'] or $_GET['name'] when
> the text from the internet and books I've read says just put a dollar sign
> before the variable's name.
from php version 4.?.x on register_globals is turn
Hi, thanks for the help!
I worked, but i dont get it, why use $_POST['name'] or $_GET['name'] when
the text from the internet and books I've read says just put a dollar sign
before the variable's name.
If it wouldn't be a burden can u pls xplain?
--
PHP General Mailing List (http://www.php.n
ge-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>Sent: Friday, March 15, 2002 3:46 PM
>To: Daniel Negron/KBE
>Cc: [EMAIL PROTECTED]
>Subject: Re: [PHP] Re: Undefined Variable in IF...ELSE IF ...ELSE IF
>(NEWBIE ?)
>
>
>On Fri, 15 Mar 2002, Daniel Negron/KBE wrote:
On Fri, 15 Mar 2002, Daniel Negron/KBE wrote:
> Thank You Charlie. I also found out that I needed to put an "@" symbol
> infrom of the string. This stopped it from throwing me an error.
>
> If(@$submit) blah blah blah
Better yet, use:
if (isset($submit)) blah blah blah
That explicitly che
|
| To: [EMAIL PROTECTED]
|
| cc
>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 ?
Yes. If the variable hasn't been defined previously you'll get a warning:
if ( $dd >
19 matches
Mail list logo