Re: Array and insert statement throws error

From: Date: Fri, 15 Oct 2004 20:32:16 +0000
Subject: Re: Array and insert statement throws error
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-36833@lists.php.net to get a copy of this message
Where would that go? Stuart --- "Matt M." <h.dudeness@gmail.com> wrote: > > if ( is_array( $_SESSION['l_industry'] ) ) { > > foreach ( $_SESSION['l_industry'] as $p ) > { > > $query = "INSERT INTO Profiles_Industries > (ProfileID, > > IndID) > > VALUES ($LID, $p)"; > > } > > do you have a } for the if statement? >

« previous php.db (#36833) next »