monkeybidz Posted July 10, 2011 Share Posted July 10, 2011 $query = "SELECT keyword FROM xxxxxxxxx ORDER BY RAND() LIMIT 1,50"; $result = mysql_query($query); while($row = mysql_fetch_array($result, MYSQL_ASSOC)) { $arr = explode( ', ', $row['keyword'] ); echo "<a href='http://www.xxxxxxxxx.com/xxxx.php?query=".implode( ', ', $arr)."&search=178'>{$row['keyword']}</a>"; } I get the result I kind of want, but there are some symbols that come up like a small square and other stuff. Link to comment https://forums.phpfreaks.com/topic/241554-how-do-i-strip-symbol-characters-from-a-query-result/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.