MySQL / PHP dating site
MySQL / PHP dating site
Out of context: Reply #12
- Started
- Last post
- 40 Responses
- drgss0
explode the string?
$interests_array = array_map('trim', explode(',', $interests_string));
foreach ($interests_array as $interest) {
...
}- <- thismikotondria3
- do you put the INSERT statement in there?juhls
- the two last lines
$query2 = ... "VALUES ('$insert_id', '$interest')";
$result2 ...drgss - got it, thanksjuhls