Smart Software wrote:
while(query )//here the query is opened
{
table
tr
td ?php query-name ? /td // record from database
td Please fill in your age:/td //text
td input name=age type=text /td //textbox,
td a href=? echo
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['$textbox']) ? $_REQUEST['$textbox'] : 0;
You should use
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!
{
table
tr
td ?php query-name ? /td //
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 those
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
@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 have no idea what's involved
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:
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().
..is
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
--
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:
?php
$nome = StrToLower($nome);
$senha = StrToLower($senha);
?
thanks
Derick Rethans [EMAIL PROTECTED] escreveu na mensagem
[EMAIL PROTECTED]">news:[EMAIL
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:
?php
$nome = StrToLower($nome);
$senha = StrToLower($senha);
?
I guess you use PHP 4.2.0+; since this version the register_globals
Thanks.
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
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 turned
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
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 2)
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 checks to
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:
Thank You Charlie. I also found out that I needed
18 matches
Mail list logo