In message <[EMAIL PROTECTED]>
, Christopher E <[EMAIL PROTECTED]> writes
>$query_is = "INSERT INTO irs_query SELECT * FROM irs_rawdata WHERE

>       if ($query_is = TRUE)

You put *text* into $query_is!  

Also, you then changed it to TRUE, because you had =, and not ==.  
Remember, = means change the value, == means compare. 



You should be checking if any records were returned.

$result_is = mysql_query($query_is);

        if (mysql_num_rows($result_is))
        {
        echo "The record matched the criteria,

-- 
Pete Clark

Sunny Andalucia
http://hotcosta.com/Andalucia.Spain

Reply via email to