eg;
(in database)
SID = 1
Searchterm = dale hay
SID = 2
Searchterm = devnetwork
SID = 3
Searchterm = kittens in microwave
Now I'm wondering how I can get it so it reads them all out the database (which I know how to do) however it won't all add as one tag. >=[
Code: Select all
$sql = "SELECT * FROM searches";
$result = mysql_query($sql, $conn) or die(mysql_error());
while($r = mysql_fetch_array($result)) {
$thewords = $r['searchterm'];
}Code: Select all
$thewords = "dale hay devnetwork kittens in microwave";(Soz if that seems longwinded and boring and effortless... :/)