Trying to get array of values into table. 
Each value will be part of a new record, so it's a

I am getting a parse error though and for further down
in the code though I know this is what's causing it.
Is there anything wrong with this statement ?

if ( is_array( $_SESSION['l_industry'] ) ) {
        foreach ( $_SESSION['l_industry'] as $p ) {
$query = "INSERT INTO Profiles_Industries (ProfileID,
VALUES ($LID, $p)";   


PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to