Jump to content

ashoklakhnavi

Members
  • Posts

    1
  • Joined

  • Last visited

About ashoklakhnavi

  • Birthday 07/22/1973

Previous Fields

  • Languages
    English

Profile Information

  • Location
    New Delhi

ashoklakhnavi's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. I have written a web page in php, bellow is the code: <?php mysql_connect('localhost','root','') or die(mysql_error());mysql_select_db("resource_resource") or die(mysql_error());$data = mysql_query("SELECT * FROM categories") or die (mysql_error()); while($info = mysql_fetch_array( $data )){echo "<p><a href=".$info['catname'].">".$info['catname'] ."</a> ";}echo "</p>"; ?> This displays data in very long column, Now I want display few data (eg. 50) in a column and rest are in next column and then next.please suggest me the string
×
×
  • Create New...