Hi, I am creating an automated search functioning script to search on a site like google. I have set it to do automated searches every 200-1000 seconds randomly using javascript. I currently have this in place, but it's just random letters like a password that gets inserted into the search box to demonstrated what I'm doing. <?php $len = 16; $base='ABCDEFGHKLMNOPQRSTWXYZabcdefghjkmnpqrstwxyz123456789'; $max=strlen($base)-1; $activatecode=''; mt_srand((double)microtime()*1000000); while (strlen($activatecode)<$len+1) $activatecode.=$base{mt_rand(0,$max)}; ?> Code (markup): <iframe id="bot" src="http://search.searchingwebsite.com/?q=<?php echo $activatecode;?>" width="600" height="400"> Code (markup): So if I'm not to confusing yet, how can I make it insert random words or sentences I create in a database into the section like search.searchingwebsite.com/?q=(randomwordshere) Also what should I use as a database for the words, mysql? Thanks.
What information do you want stored in the database (my pref is mysql)? just the search query, or the results of the query as well?