..oO(jsteinmann)
Quote:
I am setting up email alerts for people where they can select a variety of
options, and if criteria matches all the options they choose, they get an email
letting them know they have a match to view.
Since I use a get form for the search results page, I figured that would be a
good way to store the email alerts options as well. I am able to store the URL
string of parameters very nicely using $url=$_SERVER['QUERY_STRING']; echo
$url; and saving that in the database. However, I'm not sure how I can extract
data from that string other then using the $_get .... |
Try parse_str(). But if you really want to perform a DB search on that
to find matching records, you should use a better table design. Just
throwing multiple pieces of informations into a single table column like
in this cases already violates the first normal form of database design.
Really bad thing.
But how to actually structure the table(s) depends on the data you have
and what you want to do with it. Proper DB designs take some time.
Micha