I’ve got something I’ve been struggling with for a while.
I’ve got an autocomplete form (similar to Facebook’s system) that simply shows suggestions for a category a user types into it. So if I started typing CodeC, it would offer CodeCanyon as a suggestion which I can click and it populates the text box with it.
When a suggestion is clicked, it also creates a new element like this:
The DATA ID above is the data I need to extract…it’s populated by the autocomplete form and is simply an integer.
I can’t seem to figure out how to get that data into PHP when the form is submitted using POST.
In other words, I need this:
<?php $data = DATA ID; ?>
Anybody have any ideas?