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
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
[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
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
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
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
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
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
-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
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
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
]
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
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
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
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
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
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
-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
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
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
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
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 =
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?
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
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
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.
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
*/
- 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
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
$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
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
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
32 matches
Mail list logo