Re: [PHP] PHP control structure

2011-07-14 Thread Richard Quadling
On 14 July 2011 05:15, Negin Nickparsa wrote: > if the problem is only the assigning it's an example: > in mysql you can have this one: > create table store_list(id_markets int auto_increment,store_type int,primary > key(id_markets)); > > and for page this one: > > > > > Store > > > $connecti

Re: [PHP] PHP control structure

2011-07-13 Thread Negin Nickparsa
if the problem is only the assigning it's an example: in mysql you can have this one: create table store_list(id_markets int auto_increment,store_type int,primary key(id_markets)); and for page this one: Store store type corporate standard ID: also I didn't understand your code that y

Re: [PHP] PHP control structure

2011-07-13 Thread Tamara Temple
On Jul 12, 2011, at 10:11 PM, Chris Stinemetz wrote: Hey all, I would like to add an if statement to the following function so that the value 1 is assigned "corporate" and the value is 2 assign "standard" to it. Would you show me an example on adding it to the below function? If there is a be

[PHP] PHP control structure

2011-07-12 Thread Chris Stinemetz
Hey all, I would like to add an if statement to the following function so that the value 1 is assigned "corporate" and the value is 2 assign "standard" to it. Would you show me an example on adding it to the below function? If there is a better way to reassign the value please share. Thank you,