My question:
are the groups all within different forms? does each for have a different
name? don't know, something to try.
On 4/11/01 5:05 PM, "Peter Houchin" [EMAIL PROTECTED] wrote:
even though i am putting them in an array?
like
input type="radio" name="avail[]" value="y" ? if
Hi guys,
Below is the error message that I am receiving, and 3 or 4 lines around
the code that seems to be causing the issue. Lines are numbered so it gives
you a good idea of line 183. What I need to know, is in my context, what is
the error saying, and if there is a variable (or function
So far as I know, the HTML does not support arrays. However, you can make
simple code that adds number to each group so you can refer to them later
e.g.:
$i = 0;
while (your arguments) {
echo "name=\avail$i\";
$i++;
}
And afterwards you can refer to it the same way
by this I mean, html code of the form:
FORM NAME="form1" METHOD="post" ACTION=""
INPUT TYPE="radio" NAME="radiobutton" VALUE="radiobutton"
INPUT TYPE="radio" NAME="radiobutton" VALUE="radiobutton"
INPUT TYPE="radio" NAME="radiobutton" VALUE="radiobutton"
INPUT TYPE="radio" NAME="radiobutton"
One thing I forgot to mention, you can of course name the group: avail[$i]
(see below) so you will able to refer to it as an array in PHP file later
on.
--
So far as I know, the HTML does not support arrays. However,
Hi g0thic,
@ 8:17:24 PM on 4/11/2001, g0thic wrote:
...
Fatal error: Call to a member function on a non-object in
/home/httpd/www/g0thic/cawood_a4/edit_f.php on line 183
178- if($seditFileErr == "")
179- {
180-// Load primary key and form parameters
181-$fldf_id =
Did you read PHP Manual? If you don't read online manual, I suggest to read it.
Annotated manual is very useful.
http://www.php.net/manual/en/language.variables.external.php
Regards,
--
Yasuo Ohgaki
"Phil Labonte" [EMAIL PROTECTED] wrote in message
One apparent problem with foreach() is it can misbehave code as follows.
(4.0.4pl1, 4.0.5RC6)
function foo($a) {
foreach ($a[0] as $k = $v) {
echo $k.$v;
}
}
$a = 'abc';
foo($a);
You'll get 'server not found' or browser waiting forever with this code.
(If you don't, please let me
1. Sending username and password for authorisation in a protected area. This
of course is done by browsers when they get a 401 and ask the user for their
username and password in a dialog box. I would like to ask them for the d
If you are using Windows, no. (resolver does not work under windows)
Regards,
--
Yasuo Ohgaki
"Jochen Kaechelin" [EMAIL PROTECTED] wrote in message
NFBBLHGFAKNLFNPOHMPHCEENCGAA.jk@intern">news:NFBBLHGFAKNLFNPOHMPHCEENCGAA.jk@intern...
What about this error:
checkdnsrr() is not supported in
Do you install Linux kernel source? and have correct symlink for kernel headers?
Sounds like it's the cause to me.
Regards,
--
Yasuo Ohgaki
""Plamen Slavov"" [EMAIL PROTECTED] wrote in message
002a01c0c276$32b005e0$98d209c0@plamensl2">news:002a01c0c276$32b005e0$98d209c0@plamensl2...
Hi all,
I'm trying to create the following array:
$host_info = array(
"hostname" = "localhost"
"log" = "rocketbox_db.log"
"username" = $username
"password" = $password
"database" = "rocketbox"
"table" = $table
);
however when I try
Dude, you need commas between your array items.
Gfunk - [EMAIL PROTECTED] - http://www.gfunk007.com/
- Original Message -
From: "Duke" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 12, 2001
In article 000501c0c2f5$185e8e80$[EMAIL PROTECTED],
[EMAIL PROTECTED] ("Duke") wrote:
I'm trying to create the following array:
$host_info = array(
"hostname" = "localhost"
"log" = "rocketbox_db.log"
"username" = $username
"password" =
One apparent problem with foreach() is it can misbehave code as
follows. (4.0.4pl1, 4.0.5RC6)
function foo($a) {
foreach ($a[0] as $k = $v) {
echo $k.$v;
}
}
$a = 'abc';
foo($a);
You'll get 'server not found' or browser waiting forever with this
code. (If you don't,
Hello,
Does anyone have ideas about this kind of scenario?
1) Load a php page, based on whether a user is currently
authenticated either:
a) if not authenticated: pop up a new browser window
or
b) if already authenticated, proceed
2) Based on the login id of
I believe foreach also works on a copy basis, not a pointer or reference. So
if you try and alter the array you are foreach'ing it won't work as
expected.
For instance this:
$array = array("var1", "var2", "var3");
foreach ($array as $val)
{
if ($val == "var2")
{
$val = "changed2";
}
}
I'm guessing it's either for a Quiz script or an Auction script.
If you want to make it easy on yourself, use a database to store the
starting time (when the timer "starts") and what time the test/auction
should end. When someome makes a submission, get the time stored in the
database and see if
Better than the people who make a new thred by hitting Forward ;)
--
Plutarck
Should be working on something...
...but forgot what it was.
""Chris Lee"" [EMAIL PROTECTED] wrote in message
9b1rbb$mr3$[EMAIL PROTECTED]">news:9b1rbb$mr3$[EMAIL PROTECTED]...
Accually, Ive noticed in Outlook
I know how to do popups with Javascript, but what I want is
to use purely PHP. Is there a way to spawn a browser window
from a server-side action?
I'm afraid you'll have you use Javascript. The only way to make a new window
is to use window.open, or to have someone click a link with the
I've been working on a way to strip invalid characters from user input with
little or no need to rip the hair out of my head, and I learned some
interesting things in the process.
For one thing, hair really is stuck in there good, man.
But the important thing is how to increase your global
I am writing a PHP script that operates on a MySQL database that uses the
e-mail address as the primary key. If the e-mail doesn't exist in the database
(when a form is submitted), I want to insert a new record. If it does, I want
to update the existing record.
How can I make the query that
I had a similar question about case-sensitivity, and I was told that MySQL
is automatically case-insensitive! But it depends on your version of MySQL.
Go to the mysql manual and look at chapter 20.16 "Case sensitivity in
searches".
In the newest versions of MySQL, all searches are
Most PostgreSQL functions are wrapper functions for libpq. Reading documents
about libpq will help.
Answer to your question is, it does not read all data into memory. I think most
DB doesn't do that also.
Data will be buffered in PostgreSQL backend, size is depends on your
configuration.
I'm
It means your OS does not allocate enough resources.
Linux:
$ ipcs -l -s
FreeBSD:
$ ipcs -S
Refer to your OS manual to change them.
Regards,
--
Yasuo Ohgaki
""Philip Murray"" [EMAIL PROTECTED] wrote in message
Hi Plutarck,
The 'mailing list' at MySQL _is_ very much like this one and is also very
active. Send mail to [EMAIL PROTECTED] to subscribe.
Regards,
@lvin
-Original Message-
From: Plutarck [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 12, 2001 11:40 AM
To: [EMAIL PROTECTED]
Subject:
Apologies in advance if this has been discussed before or is a simple
fubar on my part. I can only search through the archives for so
long... :-)
Experiencing a frustrating problem on this end with slashes being added to
my template files. Here are the details:
Using PHP on a webhost that
I'm getting this: "Warning: error opening in /path/to/file.php on line 32"
Here's what I want to do, maybe I'm approaching it incorrectly? I need to
collect multiple files via a form and upload them via FTP (can't use HTTP
because I'm uploading to a different server). I collect them just
I have called from html a php form and passwd a value, but how can I
from PHP pass the value to an html for, without using php ?
Scenario
After searching a db, a list of valid part numbers gets displayd from
the Mysql db, the client picks part#2 and then that click would call the
html form which
"Michael Dickson" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On the server itself (to which I have root access) I type:
someProgram arg1 arg2 arg3
and it runs properly, returning the proper output to standard output (the
screen). I can do this from
[Andrei Zmievski [EMAIL PROTECTED]]
On Tue, 10 Apr 2001, Derick Rethans wrote:
hrm,
is it really needed to add 3.6MB of stuff to the PHP cvs?
Grr, I agree. Maybe it can wait until PEAR is out of PHP's CVS.
Hey hey, take a closer look before reacting. This stuff _is_ out of
PHP's CVS.
Hi
I need to name a file like this
$fp=fopen('echo $agentcode' .'CyberTrac.ctr', "w");
the file gets named echo $agentcodeCyberTrac.ctr, now I want a real value in
$agentcode, there is a value in there so it must be my syntax, anyone help?
TIA
Wade
I need to name a file like this
$fp=fopen('echo $agentcode' .'CyberTrac.ctr', "w");
the file gets named echo $agentcodeCyberTrac.ctr, now I want
a real value in $agentcode, there is a value in there so it
must be my syntax, anyone help?
$fp=fopen($agentcode.'CyberTrac.ctr', "w");
Jason
101 - 133 of 133 matches
Mail list logo