Tyler Longren wrote:
Error:
Parse error: parse error, expecting `']'' in
/usr/local/apache/htdocs/UP/index.php on line 871

('$_POST[domainregister_domain$i]',

If you're going to be creating array keys like that, break out of the string to do it.


('" . $_POST['domainregister_domain' . $i] . "', ...

Having a key like that kind of begs the question of why you're not just using $_POST['domainregister_domain'][$i], though...

--
---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

php|architect: The Magazine for PHP Professionals – www.phparch.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to