Jump to content

about auto number list


anang

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.