Modernvox Posted March 17, 2010 Share Posted March 17, 2010 I simply want to allow users to flag an inappropriate AD. I have the database table set up with an ID field, so how do i insert a flag if the user submits one? I imagine the ID table is used, but how does this work? Thanks in advance for answering. Link to comment https://forums.phpfreaks.com/topic/195568-how-does-the-id-work-if-i-insert-a-flagging-link-will-it-automatically-be/ Share on other sites More sharing options...
Modernvox Posted March 17, 2010 Author Share Posted March 17, 2010 I should be more specific. How do I set up the flagging feature, so it will be added to the classified Ad that is open at the time. Say I have a category titled "Venues" and a user opens the ad and decides the ad is inappropriate and submits the flag. How does the script know what Ad is being flagged? Is it by the ID? Link to comment https://forums.phpfreaks.com/topic/195568-how-does-the-id-work-if-i-insert-a-flagging-link-will-it-automatically-be/#findComment-1027629 Share on other sites More sharing options...
Modernvox Posted March 18, 2010 Author Share Posted March 18, 2010 I should be more specific. How do I set up the flagging feature, so it will be added to the classified Ad that is open at the time. Say I have a category titled "Venues" and a user opens the ad and decides the ad is inappropriate and submits the flag. How does the script know what Ad is being flagged? Is it by the ID? Could really use the help brothers.... Link to comment https://forums.phpfreaks.com/topic/195568-how-does-the-id-work-if-i-insert-a-flagging-link-will-it-automatically-be/#findComment-1027902 Share on other sites More sharing options...
LeadingWebDev Posted March 18, 2010 Share Posted March 18, 2010 you may create additional table for ad types, then you fetch it to the form where user selects his ad category, and so you put it in ads with appropriate type ID Link to comment https://forums.phpfreaks.com/topic/195568-how-does-the-id-work-if-i-insert-a-flagging-link-will-it-automatically-be/#findComment-1027931 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.