random url from database
<p>I have stored several urls in my mysql, but I want to echo random url from those websites. This seems very simple but it's not. Suppose I have stored www.xyz.com in mysql then I dont want to echo www.xyz.com . If that website consists of 10000 urls then each time I echo that websites I want to display random urls from those 10000 not the home page.</p>

<p>for example mysql consists of</p>

<pre><code>www.a1.com
www.a2.com
www.a2.com
</code></pre>

<p>etc
if in a particular situation the echo tries to display www.a1.comm then it should get any random url from www.a1.com and display it however that url is not there in mysql.</p>

<p>In mysql only homepage is stored.</p>

<p>I have searched several pages, but everywhere I am finding how to display random url from mysql.</p>
