So, I guess I am one of those needy posters... who doesn't know anything about PHP... but uses it anyways
my question this time...
I have a few different fields (author, keyword and potentially publisher) that have data tables as well as link tables. What I need to do is take a parameter that has been entered by the user, and compare it to the existing entries in the data table... then, if that entry already exists, use the existing keyword/author/publisher id rather than creating a new entry.
I know that it will take a foreach loop as well as an incremental counter of sorts, but im not sure as to syntax... has anyone done this before or know where I can find an example?
thanks,
Wes