Hello All,

Ok I have right now a script that pulls and displays the results to a
webpage, now I want to add a way to take what it found in the database
and put it in a different table?

How would I do this?

FROM nfnpdb
WHERE PNO LIKE '%blind%' OR '%sight%' OR '%guide%' OR '%dog%'  OR
'%see%' OR '%hear%' OR '%vision%' OR '%brl%' OR '%braille%' OR
'%visual%' OR '%NFB%' OR '%O&M%' OR '%deaf%'";
$result = mysql_query($query);

while($row = mysql_fetch_array($result, MYSQL_ASSOC))
{
    echo
                "{$row['EIN']} ||" .
                "{$row['PNO']} " .
                "{$row['ICN']} " .
                "{$row['Street_Address']} " .
                "{$row['Line_Feed']}";

}
// Closes the connection to the database
mysql_close($conn);
?>

Also how could I just pull the WHERE stuff from a database seeing I am
already using the database, would I do a query before this one and
pull that infomation into a array, and would I use a fetch array thing
like done above?  If there is a BETTER way please tell me!!!

Thank you all ahead of time for any help in this!!!

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