me & foreach don't get along..

    Date: 07/06/05 (PHP Community)    Keywords: php, database

    I've got an array and a database. How do I check the data in the array against the database (basically to see if that piece of data exists in a specific field) and then show a message depending on whether it exists or not?

    I figured it'd be something to do with the foreach() thingymajig.. but as expressed in the title, foreach() & me don't get along well.

    Please excuse my n00bish-ness.. out of all things PHP, arrays & I have the most arguments. ;)

    Source: http://www.livejournal.com/community/php/315574.html

« SQL Server Connection || Free Site Search »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home