Hello All,

I am trying to take a query called filted_results and insert it into a
table this is what I have so far what do you think and is there a
better and CLEAR way to do this?

******************** Start of Snippet of Code ********************

$sql = "INSERT INTO Processed_Enities SET " .
        "Processed_Enities_Tax_Info.F_990_RA         =
'$filted_results['NFNPDB.F_990_RA']' ".
        "Processed_Enities_Tax_Info.IIANCNS_2         =
'$filted_results['NFNPDB.IIANCNS_2']' ".
        "Processed_Enities_Tax_Info.NTEE_Code      =
'$filted_results['NFNPDB.NTEE_Code']' ".
        "Processed_Enities_Info.SN_SNL                    =
'$filted_results['NFNPDB.SN_SNL']' ";

if (mysql_query($sql))
     {
     echo ("<P>Your joke has been added.</P>");
     }
     else
     {
     echo ("Error adding infomation to database: " . mysql_error() . ");
     }

******************** End of Snippet of Code ********************

Ok this is what I am trying to do:

I am trying to take a query of a select and then put that into a
table, I am using the same connection.  now is there a limite to the
size of information that the SELECT query can handle?  Also what about
the INSERT query?  And what about arrays?

I am using the latest public release of PHP and MySQL and Apache!

Thanks if there is any thing I did not say please ask!

Sincerely,
Christopher & Missy <--- InSpirit Now!


The php_mysql group is dedicated to learn more about the PHP/MySQL web database 
possibilities through group learning.  
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php_mysql/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to