Re: [PHP] How New Is <<

2003-12-27 Thread Olwen Williams
It incrementeted for me only after I changed $_POST to $_GET, but never gave errors. [EMAIL PROTECTED] wrote: Bingo! Thanks, everyone! And thanks especially to Andrew! You were right: I needed the action and method attributes. And then it does increment. My last question on this episode: Why di

Re: [PHP] How New Is <<

2003-12-27 Thread [EMAIL PROTECTED]
Bingo! Thanks, everyone! And thanks especially to Andrew! You were right: I needed the action and method attributes. And then it does increment. My last question on this episode: Why did it work before this for some of you trying it out for me? I mean, the code is the code, right? And either it's

Re: [PHP] How New Is <<

2003-12-27 Thread Asegu
It looks like your form tag is missing some attributes needed to point your browser to the script as to where to submit the data. if you were to try with your form tag as ?? Andrew. ps: if that doesn't work, may I recommend inserting echo(""); print_r($_POST); echo(""); to see what your post

Re: [PHP] How New Is <<

2003-12-27 Thread [EMAIL PROTECTED]
Okay, everyone, here's some real progress. I retyped the file from scratch. I'm both attaching it--it's not a big file--and printing it below: persistence demo Persistence Demo The hidden value is $hdnCounter HERE; ?> My results were mixed, but definitely moved me forward. The

Re: [PHP] How New Is <<

2003-12-27 Thread David T-G
Steve -- From your private reply to me, we know that ripping out the <

RE: [PHP] How New Is <<

2003-12-27 Thread Grant Walters
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Saturday, 27 December 2003 20:56 > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] How New Is << > > By "comment[ing] out line 11", I take it you me

Re: [PHP] How New Is <<

2003-12-27 Thread Olwen Williams
end? Steve Original Message: - From: Olwen Williams [EMAIL PROTECTED] Date: Sat, 27 Dec 2003 18:25:00 +1300 To: [EMAIL PROTECTED] Subject: Re: [PHP] How New Is << Comment out line 11 to checkj it's the cause of the proble. If the error goes away then retype the l

Re: [PHP] How New Is <<

2003-12-27 Thread [EMAIL PROTECTED]
Steve Original Message: - From: Olwen Williams [EMAIL PROTECTED] Date: Sat, 27 Dec 2003 18:25:00 +1300 To: [EMAIL PROTECTED] Subject: Re: [PHP] How New Is << Cesar, > > Sorry to have taken so long to answer. My day got complicated. Anyway, > here's the code all

Re: [PHP] How New Is <<

2003-12-26 Thread David T-G
Steve -- ...and then [EMAIL PROTECTED] said... % %Parse error: parse error, unexpected T_VARIABLE in [path to file] on % line 11 % % The code: % ... % 10 http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg! pgp0.pgp Description: PGP signature

Re: [PHP] How New Is <<

2003-12-26 Thread [EMAIL PROTECTED]
Cesar, Sorry to have taken so long to answer. My day got complicated. Anyway, here's the code all over again, with the last changes I was advised to make. I took out the line spaces and added line numbers. But first, the latest error message: Parse error: parse error, unexpected T_VARIABLE in

Re: [PHP] How New Is <<

2003-12-26 Thread Cesar Cordovez
Please post your code from line 30 to 40. Place a mark in line 34. =) [EMAIL PROTECTED] wrote: parse error: parse error, unexpected $ in [my path to this file] on line 34 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How New Is <<

2003-12-26 Thread [EMAIL PROTECTED]
Thanks very much, and Merry Christmas to all--rather rude of me to've been whining for help all this time and not remembering the courtesy of holiday wishes. Okay, I made the change to: $txtBoxCounter = $_POST['txtBoxCounter']; $hdnCounter = $_POST['hdnCounter']; Now I get: parse error: parse e

Re: [PHP] How New Is <<

2003-12-26 Thread Cesar Cordovez
Change: $txtBoxCounter = $_POST['txtBoxCounter] $hdnCounter = $_POST['hdnCounter] to $txtBoxCounter = $_POST['txtBoxCounter']; $hdnCounter = $_POST['hdnCounter']; (Notice the ' at the end of txtBoxCounter and hdnCounter. Merry X'mas [EMAIL PROTECTED] wrote: Okay, for everyone took a break for C

[PHP] How New Is <<

2003-12-26 Thread [EMAIL PROTECTED]
Okay, for everyone took a break for Christmas, and to update Jasper and Jeremy--who've tried big-time to help me--here's again the sitch and where I stand as of now. I'm on a Macintosh PowerBook running OS X.2.1 and PHP 4.3.0. I'm tryning to run the following code: persistence demo Persis

Re: [PHP] How New Is <<

2003-12-25 Thread Jeremy Johnstone
AFAIK, it has been in PHP since the beginning of PHP4. I could be wrong, but I think it was one of the new features added when 4.0 came out. Here is a little reference material for you on it. http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc Without seein

[PHP] How New Is <<

2003-12-25 Thread [EMAIL PROTECTED]
I'm running PHP version 4.3.0 on a Macintosh PowerBook with OS 10.2.1, doing some PHP tutorial exercises. And I've run across something I haven't seen before in the sample code I'm seeing: print <