Re: substr parse error
| From: | Brian Clark | Date: | Wed, 22 Nov 2000 21:13:44 +0000 |
| Subject: | Re: substr parse error | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-26717@lists.php.net to get a copy of this message | ||
Hello Mike,
(M == "Mike") mpeloso@princeton.edu writes:
M> Im getting an error on the first line[$R1D=substr($R1,0,1);] of this. $R1
M> comes from a html form from a radio button.The name of the radio button is
Does the radio button have a value set?
M> R1.Im getting a parse error.The files are pretty small so I could send them
M> If needed.
M>
M> <body>
M> <? php
M> $R1D=substr($R1,0,1);
M> $R1P=substr($R1,1);
M> $R2D=substr($R2,0,1);
M> $R2P=substr($R2,1);........
-Brian
--
The fool finds ignorance all around him.
The wise man finds ignorance within.