The watchlistinsert.php sends some information to my database and i want it to send without leaving the original page where i clicked from. I think i need to use some ajax, I have tried a few different things, but it is not working. Hope someone can help me out.
echo "<td>"."<a id='add' href=\"watchlistinsert.php?symbol=$symbol&price=$price&watchlistgroupid=$watchlistgroupid\">Add</a>" ."</td>";