anang Posted May 24, 2010 Share Posted May 24, 2010 i have query like this: CREATE TABLE `student` ( `NAME` varchar(100) default NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8; INSERT INTO `student` VALUES ('SEROJA'); INSERT INTO `student` VALUES ('HUSNUL MUJAHIDI'); INSERT INTO `student` VALUES ('M. SYAIMURI'); INSERT INTO `student` VALUES ('SITI LAELA HERLINA'); INSERT INTO `student` VALUES ('M. AMIEN'); INSERT INTO `student` VALUES ('AULIA RAHMAN'); INSERT INTO `student` VALUES ('TAUFIK RAHMAN'); INSERT INTO `student` VALUES ('M. RIZA PRATAMA'); INSERT INTO `student` VALUES ('AMINUDDIN MAJID'); INSERT INTO `student` VALUES ('SRI RAHMAWATI'); after generating with phpmaker v4, the part of php is like this: <?php echo $x_NAME; ?> my question is : how to make auto number list, then the result is like this : # NAME 1. SEROJA 2. HUSNUL MUJAHIDI 3. M. SYAIMURI etc. Link to comment https://forums.phpfreaks.com/topic/202751-about-auto-number-list/ Share on other sites More sharing options...
jurass1c Posted May 24, 2010 Share Posted May 24, 2010 echo "<ol><li>$x_NAME</li></ol>"; Try that. Link to comment https://forums.phpfreaks.com/topic/202751-about-auto-number-list/#findComment-1062674 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.