<?php
$meta_keys = explode(',' stripslashes($row['meta_keys'])); // split into individual keys at commas
foreach ($meta_keys as $key) // loop through all keys
{
echo '<a href="#">' . trim($key) . '</a> '; // output each key link remove any leading/trailing spaces as well
}
?>
I think It has something to do with how I have the parenthesis, but the error it gives me is:
Parse error: syntax error, unexpected 'stripslashes' (T_STRING) in /post.php on line 91
and 91 is: $meta_keys = explode(',' stripslashes($row['meta_keys']));
you guys know what it is? thanks!