Sorry, should have mentioned that I tried quoting them already.  That
gives a T_VARIABLES parse error.

Thanks for the reply,
Tyler

On Mon, 2003-12-22 at 12:30, Sam Masiello wrote:
> Perhaps it doesn't like the fact that you don't have quotes around your
> array keys?
> 
> --Sam
> 
> 
> Tyler Longren wrote:
> > Error:
> > Parse error: parse error, expecting `']'' in
> > /usr/local/apache/htdocs/UP/index.php on line 871 
> > 
> > Line 871:
> > mysql_query("INSERT INTO domainregistrations
> > (domain,type,years,price) VALUES
> >
> ('$_POST[domainregister_domain$i]','$_POST[domainregister_type$i]','$_PO
> ST[domainregister_years$i]','$_POST[domainregister_price$i]')");
> > 
> > Anyone know why that parse error is happening?  I can't find a
> > missing "]" anywhere. 
> > 
> > Any help would be greatly appreciated.
> > 
> > Thanks,
> > Tyler Longren

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

Reply via email to