Re: [PHP] Variables with - in their name

2012-11-18 Thread tamouse mailing lists
On Sun, Nov 18, 2012 at 5:12 AM, Ashley Sheridan wrote: > On Sun, 2012-11-18 at 01:37 -0700, Nathan Nobbe wrote: > >> On Sat, Nov 17, 2012 at 11:09 PM, Ron Piggott < >> ron.pigg...@actsministries.org> wrote: >> >> > I have made the following variable in a form: (I am referring the >> > ) >> > >>

Re: [PHP] Variables with - in their name

2012-11-18 Thread Ashley Sheridan
On Sun, 2012-11-18 at 01:37 -0700, Nathan Nobbe wrote: > On Sat, Nov 17, 2012 at 11:09 PM, Ron Piggott < > ron.pigg...@actsministries.org> wrote: > > > I have made the following variable in a form: (I am referring the > > ) > > > > > > > $row['promo_code_prefix'] = 42; > > $row['promo_code_su

Re: [PHP] Variables with - in their name

2012-11-18 Thread Nathan Nobbe
On Sat, Nov 17, 2012 at 11:09 PM, Ron Piggott < ron.pigg...@actsministries.org> wrote: > I have made the following variable in a form: (I am referring the > ) > > > $row['promo_code_prefix'] = 42; > $row['promo_code_suffix'] = 2; > > echo " $row['promo_code_suffix'] . "\" style=\"text-align: c

[PHP] Variables with - in their name

2012-11-17 Thread Ron Piggott
I have made the following variable in a form: (I am referring the ) \r\n"; ?> It could be wrote: Only PHP is treating the hyphen as a minus sign --- which in turn is causing a syntax error. How do I retrieve the value of this variable and over come the “minus” sign that is really a hyph