[PHP] Getting values from the Javascript namespace

2005-03-27 Thread Daniel Lahey
Is there any way to get values from the Javascript namespace into PHP? I want to use a value passed into a Javascript function in a query within some PHP code in the function which is used to dynamically populate a select's options. TIA -- PHP General Mailing List (http://www.php.net/) To unsu

RE: [PHP] Getting values?

2004-06-18 Thread Robert Sossomon
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] != "

Re: [PHP] Getting values?

2004-06-18 Thread Jason Wong
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

RE: [PHP] Getting values?

2004-06-18 Thread Jay Blanchard
[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

[PHP] Getting values?

2004-06-18 Thread Robert Sossomon
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 accessing data,

Re: [PHP] PHP getting values from XML

2003-06-01 Thread Jaap van Ganswijk
Hi, At 2003-05-31 14:52 -0400, [EMAIL PROTECTED] wrote: >I'm developing a site PHP site. > >I would like to define HTML code in XML and be able to get the HTML code using PHP. > >I was hoping for a simple example. > >I will not be able to update the version of PHP with any "modules" as my hosting

Re: [PHP] PHP getting values from XML

2003-06-01 Thread Yann Larrivee
Hi there are a couple projects done in php to go around these problemes however it will cost you on performance. Here are a couple projects you might want to look into (I never used them, but since the book XML and PHP talk about them i guess they are good proejcts) eZXML (an alternative to PHP/D

[PHP] PHP getting values from XML

2003-06-01 Thread MivaDudePB
Hello All and Thanks in advance. I'm developing a site PHP site. I would like to define HTML code in XML and be able to get the HTML code using PHP. I was hoping for a simple example. I will not be able to update the version of PHP with any "modules" as my hosting company (hostway.com) admins

RE: [PHP] getting values from objects

2003-04-02 Thread Ford, Mike [LSS]
> -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. >

Re: [PHP] getting values from objects

2003-04-01 Thread Charles Kline
From: Charles Kline [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 2:58 PM To: [EMAIL PROTECTED] Subject: [PHP] getting values from objects hi there, if this: $res_pform->getSubmitValue("investigator5"); returns an array, how do I get to the individual values in that array

Re: [PHP] getting values from objects

2003-04-01 Thread Jason Wong
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['

[PHP] getting values from objects

2003-04-01 Thread Charles Kline
hi there, if this: $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['field']; thanks charles -- PHP General Mailing

RE: [PHP] getting values by a joints mysql query

2002-06-20 Thread Lazor, Ed
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

RE: [PHP] Getting values of duplicate keys in array

2002-04-11 Thread Christoph Starkmann
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

Re: [PHP] Getting values of duplicate keys in array

2002-04-11 Thread Michael Virnstein
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

RE: [PHP] Getting values of duplicate keys in array

2002-04-11 Thread Christoph Starkmann
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

Re: [PHP] Getting values of duplicate keys in array

2002-04-11 Thread Justin French
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)

[PHP] Getting values of duplicate keys in array

2002-04-11 Thread Christoph Starkmann
Hi folks! The following problem: I got a db (mysql) with information about doctors. Name, adress, phone etc. Now I'm reading these information with a simple mysql-query: $queryString = "SELECT DISTINCT m.$sureName, m.$preName, m.$prax, m.$title, "; $queryString .= "p.$town, p.$zip, p.$phone,

Re: [PHP] Getting values

2002-04-09 Thread ayukawa
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

[PHP] Getting values

2002-04-09 Thread Gordon Stewart
http://kwister.dns2go.com/php/4.php?action=tables&database=mysql&table=user http://kwister.dns2go.com/php/4.txt Hi - I'm online for next few hours (I'll upload to a non PHP server when i go offline) basically ive had help, & fixed my script to show 4 rows of 17 columns each (Instead of 1 row of

RE: [PHP] Getting values of Checkboxes

2002-03-18 Thread Kearns, Terry
x27;foo']) to see if they checked it. (the example code is for version 4.1.x) [TK] > -Original Message- > From: Daniel Ferreira Castro [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 19 March 2002 1:27 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Getting values of Ch

RE: [PHP] Getting values of Checkboxes

2002-03-18 Thread Martin Towell
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

[PHP] Getting values of Checkboxes

2002-03-18 Thread Daniel Ferreira Castro
I have checkboxes on my FORM and I want to get the values of thoses checkboxes with my PHP script. My html use the post method I am trying to use $HTTP_POST_FORM['name_of_the_checkbox'] but I am not beeing successfull. How can I do it?? Thank you Daniel; F. Castro -- PHP General Mailing Li

Re: [PHP] getting values from multiple select

2002-03-14 Thread Scott St. John
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

Re: [PHP] getting values from multiple select

2002-03-14 Thread Erik Price
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

Re: [PHP] getting values from multiple select

2002-03-14 Thread Scott St. John
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

Re: [PHP] getting values from multiple select

2002-03-14 Thread Erik Price
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

Re: [PHP] getting values from multiple select

2002-03-14 Thread Scott St. John
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

Re: [PHP] getting values from multiple select

2002-03-14 Thread Erik Price
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

RE: [PHP] getting values from multiple select

2002-03-14 Thread Ford, Mike [LSS]
> -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

[PHP] getting values from multiple select

2002-03-13 Thread Scott St. John
Hi gang- 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 select box. On the next page I need to figure out what PHP is doing with the data coming in. If I send 5 field

Re: [PHP] getting values inside PHP from outside script

2001-08-26 Thread Scott Mebberson
riginal Message - > From: Scott Mebberson <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sunday, August 26, 2001 9:04 PM > Subject: [PHP] getting values inside PHP from outside script > > > | Hi Guys, > | > | I want to write a script that retrieves qu

Re: [PHP] getting values inside PHP from outside script

2001-08-26 Thread Chris Lambert
Web Application Security - www.whitecrown.net */ - Original Message - From: Scott Mebberson <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, August 26, 2001 9:04 PM Subject: [PHP] getting values inside PHP from outside script | Hi Guys, | | I want to write a script t

[PHP] getting values inside PHP from outside script

2001-08-26 Thread Scott Mebberson
Hi Guys, I want to write a script that retrieves quote prices off the ASX (Australian Stock Exchange) and then adds it to the database. I think the only way I can do this is by using the yahoo finance query. I need to know how I can call a string within my PHP script and then get the results

Re: [PHP] getting values from apache_lookup_uri()

2001-04-24 Thread Rasmus Lerdorf
> $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

[PHP] getting values from apache_lookup_uri()

2001-04-24 Thread windeath
I do $var apache_lookup_uri("file"); echo $var['uri'] ; or anything else, I get nothing, so I do var_dump($var['uri']);//is Null but... var_dump($var);//everything is there? help -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

Re: [PHP] Getting values for posted form in HASH array rather than just variables.

2001-02-19 Thread David Robley
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

[PHP] Getting values for posted form in HASH array rather than just variables.

2001-02-19 Thread Matthew Toledo
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 FORM post or get. I know that PHP automatically creates variabl