[PHP-WIN] Variables variables and the Object Factory

2008-08-05 Thread Jerome Hollon
Hello php-windows mailing group, this is my first post! :P I hope I get it right. I have a problem with a web app I'm developing. It is an ajax web app that is built on PHP and JQuery. It works fine on my windows computer running Apache, however, when I move into production on an IIS server, it bre

Re: [PHP-WIN] Variables

2006-12-08 Thread tclorenzted
{ echo " ".$row[caa442400042]; } Good luck! -Original Message- From: [EMAIL PROTECTED] To: php-windows@lists.php.net Sent: Fri, 8 Dec 2006 10:40 AM Subject: [PHP-WIN] Variables How would I assign the output of a query into variables? I have the following cod

Re: [PHP-WIN] Variables

2006-12-08 Thread Stut
Dan Shirah wrote: How would I assign the output of a query into variables? I have the following code: $sql = "SELECT caa44340041, caa442400042 FROM caa44340, caa44240 WHERE caa443400018 = caa442400018; // THE QUERY ITSELF TO SELECT THE DATA $result = ifx_query($sql, $connect_id) or die ("c

Re: [PHP-WIN] Variables

2006-12-08 Thread Kevin Smith
If the query only ever returns 1 row then like this: $sql = "SELECT caa44340041, caa442400042 FROM caa44340, caa44240 WHERE caa443400018 = caa442400018; $result = ifx_query($sql, $connect_id) or die ("couldn't execute the query"); $row = fetch_assoc_array($result); $first_name = $row['caa4434

[PHP-WIN] Variables

2006-12-08 Thread Dan Shirah
How would I assign the output of a query into variables? I have the following code: $sql = "SELECT caa44340041, caa442400042 FROM caa44340, caa44240 WHERE caa443400018 = caa442400018; // THE QUERY ITSELF TO SELECT THE DATA $result = ifx_query($sql, $connect_id) or die ("couldn't execute the que

Re: [PHP-WIN] Variables not retaining values

2004-11-06 Thread Michael Purdy
Anne On your keywords_delete_ask.php page what error does echo $_REQUEST['id']; Produce? Mike - Original Message - From: "Anne Shroeder" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, November 07, 2004 10:16 AM Subject: [PHP-WIN] Vari

[PHP-WIN] Variables not retaining values

2004-11-06 Thread Anne Shroeder
A very kind soul helped me a few months back with the problem of variables not being passed through forms (due to a setting in php.ini that the web hosting service will not change). Solution was to refer to the variable in the receiving page as $_POST["variablename"] That worked great! But now

[PHP-WIN] Variables not passed through form

2004-08-09 Thread Anne Shroeder
I've always used PHP on *Nix platforms. So I'm assuming that this is a windows issue. Here is identical code (1) on an MS server: http://www.cgapdirect.org/annes/ProductCosting/contribute.php (2) on a Linux sever: http://www.language-works.com/cgap/contribute.php The form variable values are dis

Re: [PHP-WIN] variables problem

2003-06-27 Thread Felipe Lorente
<[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > Hi Felipe. > First of all... the lacking double-quotes at the end ot the string! So, the > right way is: > header("Location: validation.php?name=$name&mail=$mail&message=$message"); > This line works well if... > > Regarding your

Re: [PHP-WIN] variables problem

2003-06-27 Thread morris71
Hi Felipe. First of all... the lacking double-quotes at the end ot the string! So, the right way is: header("Location: validation.php?name=$name&mail=$mail&message=$message"); This line works well if... Regarding your "question", the problem is in a uncorrect usage of the variables while composing

[PHP-WIN] variables problem

2003-06-27 Thread Felipe Lorente
Hello all, I have a php page which calls another with header function. This is the sintax: header("Location: validation.php?name=$name&mail=$mail&message=$message); The problem is that in the next php page, it only gets the first word of the first variable, and it shows an error of no id

RE: [PHP-WIN] Variables

2001-11-09 Thread Martin Lindhe
> Could anyone tell me, why my variables are not valid anymore > in an included file. They should, or? I tryed anything. > > Thanks, Harry What do you mean by anymore? Have you upgraded PHP? What version are you running, have you changed php.ini configuration? Can you provide an example? /Mart

[PHP-WIN] Variables

2001-11-09 Thread Harry
Could anyone tell me, why my variables are not valid anymore in an included file. They should, or? I tryed anything. Thanks, Harry begin 666 Tabelle_vergleichen.php4 M/#]P:' -"B1S97)V97(](")S97)V97(B.R @(" @#0HD=7-ER1,;V=I;E]%:6YG86)E/2!S=')? MR1087-S=V]R=%]%:6YG86)E/2!S=')? M2!L871Ehttp://ww

RE: [PHP-WIN] variables in URL

2001-10-17 Thread Svensson, B.A.T.
That why one might want to look for HTML/HTTP specific things at www.w3.org instead. >-Original Message- >From: Tony Leach >Sent: Wednesday, October 17, 2001 6:34 PM >To: [EMAIL PROTECTED] >Subject: RE: [PHP-WIN] variables in URL > > >Thanks, I knew it was sim

RE: [PHP-WIN] variables in URL

2001-10-17 Thread Svensson, B.A.T.
PROTECTED] >Subject: [PHP-WIN] variables in URL > > >How do I construct a URL to pass more than one variable to a php page? > >main.php?sectionName=home > >works fine for one variable, how do I pass more than one? > >Many thanks >Tony > >==

RE: [PHP-WIN] variables in URL

2001-10-17 Thread Tony Leach
Thanks, I knew it was simple but it isn't easy to find in the php manual ! WordWrap Web Development Limited t +44 (0) 131 555 3535 f +44 (0) 870 135 3656 m +44 (0) 7768 626588 -- PHP Windows Mailing List (http:/

RE: [PHP-WIN] variables in URL

2001-10-17 Thread Matt Williams
main.php?sectionName=home&variable2=blah&soon=soon Regards Matt Williams [EMAIL PROTECTED] >> How do I construct a URL to pass more than one variable to a php page? > > main.php?sectionName=home > > works fine for one variable, how do I pass more than one? > -- PHP Windows Mailing List

[PHP-WIN] variables in URL

2001-10-17 Thread Tony Leach
How do I construct a URL to pass more than one variable to a php page? main.php?sectionName=home works fine for one variable, how do I pass more than one? Many thanks Tony WordWrap Web Development Limited t +44 (0) 131 555 3535 f +44 (0) 870 135 365