Re: building a string question
| From: | Stuart | Date: | Tue, 03 Feb 2004 16:01:18 +0000 |
| Subject: | Re: building a string question | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-22721@lists.php.net to get a copy of this message | ||
Herhuth, Ron wrote:
for($i=0;$i<$_POST['numberOfAmendments'];$i++) { $amendmentNumber = $_POST['amendmentID_$i']; }Replace your single quotes with double quotes. Variable substitution is not performed on single-quoted strings. -- Stuart