[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

[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

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

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 Development

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] != ) Put

[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] 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

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 company

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. for example I can do this: foreach

[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 List

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['field']; You

Re: [PHP] getting values from objects

2003-04-01 Thread Charles Kline
] 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 without first setting it to a variable like: $myvar

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

[PHP] Getting values

2002-04-09 Thread Gordon Stewart
http://kwister.dns2go.com/php/4.php?action=tablesdatabase=mysqltable=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

[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

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 Checkboxes

RE: [PHP] Getting values of Checkboxes

2002-03-18 Thread Kearns, Terry
isset($_POST['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 Checkboxes I have

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 select

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 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

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

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: select multiple=yes name=groups id=av ? $sql = select groupID,groupName from groups order by groupName; $result = mssql_query($sql,$connection); while($row = mssql_fetch_array($result)){ $groupID =

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: select multiple=yes name=groups id=av ? $sql = select groupID,groupName from groups order by groupName; ... Any eye openers?

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: select multiple=yes name=groups[] id=av 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

[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

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

2001-08-27 Thread Scott Mebberson
Subject: [PHP] getting values inside PHP from outside script | 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.

[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

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

2001-08-26 Thread Chris Lambert
*/ - 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 that retrieves quote prices off the ASX (Australian | Stock Exchange

[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

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 / -Rasmus

[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

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 FORM