January 9th, 2013, 03:56 PM
How to log values from the search field
i am new to both mysql and php and on this forum.
I have a database and i want to log values that users put in the search field.
Can you help me with that, and what should i do to make it possible.
January 9th, 2013, 04:29 PM
The only help you're likely to get with such a vague question is "use PHP." Do you know where your search page is? Can you see its source code? Do you see where it processes the incoming search string and uses it to perform the search? Right in there, do an insert into a new table you create for logging the search terms.
HEY! YOU! Read the New User Guide and Forum Rules
"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin
"The greatest tragedy of this changing society is that people who never knew what it was like before will simply assume that this is the way things are supposed to be." -2600 Magazine, Fall 2002
Think we're being rude? Maybe you asked a bad question
or you're a Help Vampire.
Trying to argue intelligently? Please read this.