THANKS!!
Worked like a charm.
Robert
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]
Sent: Friday, June 18, 2004 8:52 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Getting values?
On Friday 18 June 2004 20:38, Robert Sossomon wrote:
> if ($_POST[comment-$i] != "
On Friday 18 June 2004 20:38, Robert Sossomon wrote:
> if ($_POST[comment-$i] != "")
Put double-quotes around your array subscripts.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Devel
[snip]
I have a form that uses -$i in it to create multiple write boxes for
editing the information. It then passes that information to another
script that read through and modifies the DB based on the information.
I have this code in my parsing script and I know it is BC of the way I
am accessin
> -Original Message-
> From: Charles Kline [mailto:[EMAIL PROTECTED]
> Sent: 01 April 2003 21:21
> To: Dan Joseph
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] getting values from objects
>
>
> My objective was to try and NOT use a temporary variable.
>
My objective was to try and NOT use a temporary variable.
for example I can do this:
foreach ($res_pform->getSubmitValue("investigator5") AS $k=>$v){
echo $k . "";
}
I was just wondering in other circumstances, how I can maybe just get
to the value of one of the keys without setting it f
On Wednesday 02 April 2003 03:58, Charles Kline wrote:
> $res_pform->getSubmitValue("investigator5");
>
> returns an array, how do I get to the individual values in that array
> without first setting it to a variable like:
>
> $myvar = $res_pform->getSubmitValue("investigator5");
>
> echo $myvar['
You need to establish a relation between the two tables to complete the join
with something like:
AND G.GID = U.GID
Also, this is not a PHP related question. You should also be directing this
to the MySQL mailing list.
> -Original Message-
> Im having problem in getting the the
Hi Michael...
> hmm...he has a table for premises and one for doctors, hasn't he?
> > FROM $medTable m,
> > $praxTable p
He has ;))
Cheers,
Kiko
--
It's not a bug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.gruppe-69.com/
ICQ: 100601600
--
--
PHP G
hmm...he has a table for premises and one for doctors, hasn't he?
> FROM $medTable m,
> $praxTable p
"Justin French" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Just a quick note, you wouldn't base it upon $description would you?
> It reall
Hi Justin!
> By testing for (shared house), you'd end up grouping them
> together like
> this:
>
> Fred Flintstone
> Wilma Flintstone
> Homer Simpson
> Marge Simpson
> Bedrock
> (shared house)
>
> ... which isn't your intended result.
Yes it is ;)
What you write is right but this is how
Just a quick note, you wouldn't base it upon $description would you?
It really depends on your data, but consider these four records:
Fred Flintstone
Bedrock
(shared house)
Wilma Flintstone
Bedrock
(shared house)
Homer Simpson
Springfield
(shared house)
Marge Simpson
Springfield
(shared house)
Hello,
See the manual of mysql_fetch_row().
Good luck!
Hiroshi Ayukawa
http://hoover.ktplan.ne.jp/kaihatsu/php_en/index.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If a heckbox is left blank, then the webserver does not pass it's name/value
pair on to the PHP processor.
This means that if you have
And the box is not checked, then when your script recieves the form,
$_POST['foo'] will not be available.
So to test for it, use isset($_POST['foo']) to see if
try $_POST['name_of_the_checkbox']
or just $name_of_the_checkbox (if you have register_globals set to on)
-Original Message-
From: Daniel Ferreira Castro [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 19, 2002 1:27 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Getting values of Checkboxes
I
On Thu, 14 Mar 2002, Erik Price wrote:
> Sure! First go get a cup of coffee! :)
> Then change the first line to say this:
>
> Let me know how that works for you.
Erik-
I don't do coffee, but the Iced Tea works just as well :) Thank you, all
is well and my happy face is back on. I was missi
On Thursday, March 14, 2002, at 09:52 AM, Scott St. John wrote:
> Ok, how about a code snipet since I seem to be blind this morning. The
> select box code:
>
>
> $sql = "select groupID,groupName from groups order by groupName";
>
...
> Any eye openers? Thanks,
>
> -Scott
Sure! First g
Ok, how about a code snipet since I seem to be blind this morning. The
select box code:
$groupName";
}
?>
On the next page I tried the code Erik recommended doing this:
foreach ($groups as $group_list){
echo $group_list;
}
Any eye openers? Thanks,
-Scott
On Thu, 14 Mar 2002, E
On Thursday, March 14, 2002, at 09:33 AM, Scott St. John wrote:
> Yes, I have tried that. To view them on the next page I would call
> them as $choice[0];$choice[1];, etc, but only the first item in the list
> is available.
Hm... have you tried using a loop to get their values, rather than us
Yes, I have tried that. To view them on the next page I would call
them as $choice[0];$choice[1];, etc, but only the first item in the list
is available.
-Scott
On Thu, 14 Mar 2002, Erik Price wrote:
> Did you try putting brackets at the end of the input names? This tells
> PHP to put the v
On Wednesday, March 13, 2002, at 04:31 PM, Scott St. John wrote:
> If I send 5 fields to the next page PHP will show me one when I echo the
> variable to the page. If I try to split the varaiable I still get only
> one value in the echo. Tried to reponse.write it in asp and I get the
> string
> -Original Message-
> From: Scott St. John [mailto:[EMAIL PROTECTED]]
> Sent: 13 March 2002 21:32
>
> I am working on a javascript box that will allow the user to
> drag values
> from one select box to another. I will use this box to set
> the values.
> This is a standard, multiple s
thanks heaps mate.
"Chris Lambert" <[EMAIL PROTECTED]> wrote in message
000c01c12e95$b217e600$6401a8c0@server">news:000c01c12e95$b217e600$6401a8c0@server...
> The easy & ugly one line solution:
>
> $csvalues = explode(",", implode("",
>
file("http://au.finance.yahoo.com/d/quotes.csv?s=NAB
The easy & ugly one line solution:
$csvalues = explode(",", implode("",
file("http://au.finance.yahoo.com/d/quotes.csv?s=NAB&m=a&f=sl1d1t1c1ohgv&e=.
csv")))
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
> $var apache_lookup_uri("file");
What is your exact line? It obviously isn't that.
Something like:
$var = apache_lookup_uri("/path/file.html");
should work just fine. You need to pass this function a URI. A URI being
the part of a URL after the hostname but including the leading /
-Rasm
On Tue, 20 Feb 2001 08:56, Matthew Toledo wrote:
> SUBJECT: Getting values for posted form in HASH array rather than just
> variables.
>
> I've been using perl for a while and am just starting with PHP. I like
> it.
>
> Is there an array that holds all the information that was submitted via
> a F
25 matches
Mail list logo